How to add four y axes on to a plot

Hi.. I would like to know how should i add multiple y axes side by side on left of the plot. I was trying to use gca but could not acheive what i want.

 Accepted Answer

Use ploty4 from the File Exchange, or plotyyyy from this previous posting

2 Comments

I got the follwong error when i tried with plotyyy. May be i am using a older version of MATLAB(7.5.0).
How to do the same in older versions?
??? Undefined function or method 'plotyyyy' for input arguments of type 'double'.
Did you download plotyyyy() from that posting? The link to it is http://www.mathworks.com/matlabcentral/answers/uploaded_files/7024/plotyyyy.m
You will need to put that file into a directory, and you will need to use
pathtool
to ensure that the directory is on your MATLAB path.

Sign in to comment.

More Answers (0)

Categories

Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!