Multiple Y Axes
We were musing here about how common it is to want more than two Y axes on a plot. Checking out the File Exchange, there seem to be several candidates, indicating that this is something at least some people find useful.
Here's a sample plot using plotyy that comes with MATLAB.
x = 0:0.01:20; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*sin(10*x); plotyy(x,y1,x,y2,'plot');
List of Some Possibilities
In addition to plotyy in MATLAB, here's a list of some of the candidates from the File Exchange.
What are You Plotting with More Y Axes?
I am curious to know what kind of data or results you are plotting so that having multiple y-axes makes a compelling presentation. Let us know here.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.