Rank: 278834 based on 0 downloads (last 30 days) and 0 file submitted
photo

Andrew Stamps

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Andrew View all
Updated File Comments Rating
01 Jun 2012 SLM - Shape Language Modeling Least squares spline modeling using shape primitives Author: John D'Errico

John,
Thanks for this excellent tool. I wish I had discovered it sooner. I have been writing custom quadratic programs to fit polynomials with various constraints (monotonicity, concavity, endpoint slopes, etc.) for years, but it seemed like every time required a slight variation on what I had done previously. This tool captures all of those things I was doing (and many more).

09 Nov 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Ben,

This is essentially the same example as I posted above, but I believe it demonstrates my point:

f1 = figure;
p1 = uiextras.Panel('Parent', f1, 'Title', 'Panel 1');
p2 = uiextras.Panel('Parent', p1, 'Title', 'Panel 2');

f2 = figure;
p3 = uiextras.Panel('Parent', f2, 'Title', 'Panel 3');
p4 = uiextras.Panel('Parent', p3, 'Title', 'Panel 4', 'Units', 'Pixels');

Figure 1 has additional space at the top and right in between panel 1 and panel 2 compared to panels 3 and 4 in figure 2. I just reinstalled v1.8 and removed all other versions from my path as a precaution. I am using R2010B.

We don't appear to be able to upload files or else I would include screenshots as well.

Thanks,
Andy

08 Nov 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

I need to retract my "correction" of lines 133-134 of Panel.m. However, I believe I am now closer to an answer. In normalized units, the border/title area is excluded from the control area. You have to compensate for this when you specify the width and height to obj.ShowSelectedChild. I can provide code, if interested.

05 Nov 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

I wanted to follow up on my previous comment. First, I believe lines 133-134 of Panel.m should be:

x0 = border;
y0 = border;

Also, the issue with the normalized panels appears to be that the uipanel reserves some space at the top of the panel such that a normalized position of [0 0 1 1] does not fully cover the area returned by getpixelpostion. I haven't figured out yet how to set/get what the "normalized" area actually is relative to the getpixelposition area.

Thanks,
Andy

05 Nov 2010 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Ben,

I think this toolbox is fantastic. It has already saved me a ton of time. However, I wanted to point out one issue that has popped up recently. I believe that your bugfix in v1.7 that changed the unit-setting behavior when children are added has had some unintended consequences. Here's a simple example:

f = figure;
p1 = uiextras.Panel('Parent',f,'Title','Panel 1');
p2 = uiextras.Panel('Parent',p1,'Title','Panel 2');

This produces a figure where there is an overly large gap between the top of the first panel and the second inset panel. In previous versions (definitely v1.5) the gap was much tighter. If you specify pixel units for the second panel explicitly:

f = figure;
p1 = uiextras.Panel('Parent',f,'Title','Panel 1');
p2 = uiextras.Panel('Parent',p1,'Title','Panel 2','Units','pixels');

Then the figure initially looks the same as the first example, but then as soon as you do anything to resize the figure, the second panel suddenly snaps up tight to the first panel like it used to be.

I am guessing that your intentions are to have the results relatively independent of the units being used, but this does not appear to be the case.

Thanks,
Andy

Top Tags Applied by Andrew
nonlinear dynamics
Files Tagged by Andrew
Updated   File Tags Downloads
(last 30 days)
Comments Rating
02 May 2012 Screenshot Measures of Analysis of Time Series toolkit (MATS) MATS computes many measures of scalar time series analysis on many time series in one go. Author: Dimitris Kugiumtzis nonlinear dynamics, time series analysis, finance, time series data base..., statistics, simulation 67 17
  • 4.75
4.8 | 4 ratings

Contact us