Clear Filters
Clear Filters

How to add four y axes on to a plot

4 views (last 30 days)
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

Walter Roberson
Walter Roberson on 13 May 2015
Use ploty4 from the File Exchange, or plotyyyy from this previous posting
Purushottama Rao
Purushottama Rao on 13 May 2015
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'.
Walter Roberson
Walter Roberson on 13 May 2015
Did you download plotyyyy() from that posting? The link to it is
You will need to put that file into a directory, and you will need to use
to ensure that the directory is on your MATLAB path.

Sign in to comment.

More Answers (0)


Find more on Interactive Control and Callbacks in Help Center and File Exchange



Community Treasure Hunt

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

Start Hunting!