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

Charles

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Charles View all
Updated File Comments Rating
15 Oct 2013 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee

I apologize for accidentally rating this function with just one star yesterday, I didn't mean to do that, but I can't figure out how to edit my previous comment or rating.

I did get the code to work today, although I haven't really changed anything. So I don't know what the problem was exactly.

14 Oct 2013 addaxis Add multiple y-axes to plots. zoomable with zoom modification. Author: Harry Lee

I just downloaded this function and when running the sample code, I get an error. I have no idea what's going on. Any thoughts?

Sample code:
x = 0:.1:4*pi;
plot(x,sin(x));

addaxis(x,sin(x-pi/3));
addaxislabel(1,'one');
addaxislabel(2,'two');

legend('one','two');

The error reads as follows...
"??? Undefined function or method 'setaddaxisdata' for input arguments of type 'cell'.

Error in ==> addaxis at 137
setaddaxisdata(cah,axh,'axisdata');

Error in ==> test at 3
addaxis(x,sin(x-pi/3));"

Contact us