Code covered by the BSD License  

Highlights from
Myplotyy

5.0

5.0 | 1 rating Rate this file 27 Downloads (last 30 days) File Size: 30.9 KB File ID: #26550
image thumbnail

Myplotyy

by Friedhelm Steinhilber

 

01 Feb 2010 (Updated 12 May 2011)

Myplotyy plots different data sets with a common x-axis but using individual y-axes in one figure.

| Watch this File

File Information
Description

Myplotyy plots different data sets with a common x-axis but using individual y-axes in one figure.
The properties of every curve (y-axis) can be individually adjusted, such as linear or logarithmic scale, normal or reverse scale, confidence intervals, colors, curve labeling, ...

See screenshot and run the example "myplotyy_example.m" included in the zip-file.

MATLAB release MATLAB 7.5 (R2007b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 May 2011 Nate Jensen

Much better than Matlab's plotyy function by far. The only thing that I cannot figure out yet, is for some reason my y label for the label on the right side of the plot always intersects with the axis. I can move the label so it's not a big deal, but it would be nice if it didn't intersect with the axis to begin with.

Please login to add a comment or rating.
Updates
03 Feb 2010

now the function is also able to plot confidence intervals

11 Feb 2010

fixed a problem considering the rotation of the y-labels.

10 Mar 2010

updated description

07 May 2010

update of the description

11 May 2011

The label on the right side is now at the correct position.

12 May 2011

Fix of ylabel positions

Tag Activity for this File
Tag Applied By Date/Time
time series Friedhelm Steinhilber 01 Feb 2010 10:32:46
plotting Friedhelm Steinhilber 01 Feb 2010 10:32:46
plotyy Friedhelm Steinhilber 01 Feb 2010 10:32:46
yaxis Friedhelm Steinhilber 01 Feb 2010 10:32:46
confidence intervals Friedhelm Steinhilber 03 Feb 2010 10:15:25
multiple axes Friedhelm Steinhilber 13 Apr 2010 09:26:16
second y axis Friedhelm Steinhilber 13 Apr 2010 09:26:16
add axis Friedhelm Steinhilber 13 Apr 2010 09:27:34

Contact us at files@mathworks.com