File Exchange

image thumbnail

ploty4.m

version 1.1 (1.98 KB) by

PLOTY4 support for a third and fourth y-axis.

4.42105
19 Ratings

40 Downloads

Updated

View License

PLOTY4 is based on plotyyy by Denis Gilbert and allows a fourth y-axis. Labelling of all four y-axes is possible.

Comments and Ratings (24)

Sachin Hegde

wenzhu wang

How to zoom in or zoom out the added line?

Marc Timmer

I get the following errors and the axis labels do not appear, can they be fixed? or am I doing something wrong?

Error using cell2mat (line 52)
CELL2MAT does not support cell arrays containing cell arrays or objects.

Error in ploty4 (line 78)
set(cell2mat(get(ax,{'ylabel'})),{'String'},{ylabels{:}}');

Hello! Great script, but I am very new to matlab and have one question - I need a scatter plot, is there any way to use this to get a scatter plot? Thanks! :)

ahmed kamar

I can not do with matlab ,the code not run, Why?

ahmed kamar

good

Great contribution! Really handy. It would be great to have the option to pass the axes handle as an input. Still, 5 of 5 stars ;) .

Earther

poncerv

Excellent!

poncerv

huang

huang (view profile)

well done

Adrien

Adrien (view profile)

bug for lines 3 and 4 when we use "datetick".
Otherwise a good solution.
Thanks

Wu Zhiyong

good work! Thanks

In fact, I need 3 lines + 1 bar, but don't know how to do that.
Peter, do you have any suggestion to derive the plot of 3 lines + 1 bar ?
Thanks so much

very well done, thanks a lot!

Thierry Dalon

Zoom does not work properly :-(

Boris Peters

need to clean the code and work on exceptions

Tobi Broge

Very handy!easy to plot four biotech parameters in function of the time!Thanks for this

Francois Dewarrat

Although it has some minor defaults as plotyy (scaling, ytick..), it is the best solution I know by now for such multiple plots.

wind cooky

excellent!!

Izru Garner

It's very simple to use, but by this, excellent!

Anja Noser

Denis Gilbert

Works like a charm !

Well done, Denis.

Updates

1.1

licensing

Update

Bug fix

Bug fix.

Bug fix, updated screenshot.

MATLAB Release
MATLAB 6.5 (R13)
Acknowledgements

Inspired by: plotyyy

Inspired: plotyn(varargin)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video