Rank: 593 based on 253 downloads (last 30 days) and 3 files submitted
photo

Harry Lee

E-mail
Company/University
MIT

Personal Profile:

 

Watch this Author's files

 

Files Posted by Harry Lee View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
21 Feb 2006 Screenshot addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee specialized, plotting, plotyy, multiple, yaxis, add axis 235 40
  • 4.66667
4.7 | 35 ratings
29 Nov 2005 getdelta Simple widget to get the change in coordinates between two points. Author: Harry Lee gui tools, example, plot interaction, simple, widget, two points 6 1
  • 1.0
1.0 | 1 rating
29 Nov 2005 getpoint Simple widget to get coordinates of a point in a figure. Author: Harry Lee gui tools, example, coordinates, figure, plot 12 3
  • 1.0
1.0 | 2 ratings
Comments and Ratings on Harry Lee's Files View all
Updated File Comment by Comments Rating
09 Oct 2014 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee Edward

Great function. Having trouble with the legend display for a corner case. Does anyone have a solution to the following problem? http://www.mathworks.com/matlabcentral/answers/158068-hide-legend-entries-with-addaxis-function

09 Oct 2014 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee Edward

20 Sep 2014 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee John

answered my own question. use the function below to get a handle for the new axis, then adjust like so:

set(haxis2,'Position',[ 0.90 0.1100 0.001 0.8150]), modifiying the X location (.90) and the width .001).

20 Aug 2014 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee Elisa

08 Dec 2013 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee Ali Hummos

I needed to get a handle for the newly created axis to change its properties. I found it very helpful to edit the first line in the file addaxis.m to be:
function [h_ax] = addaxis(varargin)
so that the function returns a handle to the newly created axis.
Solid work. Thanks!

Contact us