How to plot multiple y axes using function that is compatible with R2018b?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
VR
am 1 Mär. 2019
Kommentiert: Mark Sherstan
am 4 Mär. 2019
Hi,
I am trying to plot 4 different data sets of different scales. I know plotyy can plot 2 y-axes but I need to plot 4 axes. I have also tried plotyn.m, addaxis6.m and few more but they are not compatible with R2018b. They are giving errors. Would anyone please receommend something that's compatible with R2018b?
0 Kommentare
Akzeptierte Antwort
Mark Sherstan
am 1 Mär. 2019
Check out the file exchange. For example this works: https://www.mathworks.com/matlabcentral/fileexchange/67349-plot-with-multiple-y-axes. You could also consider normalizing your data.
4 Kommentare
Mark Sherstan
am 4 Mär. 2019
In the directory where you saved the file exchange function run:
help plotNy
You will get a list of arguments for customizing the plots. If the options you want arent there I would reccomend checking out a different user made function.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!