How to plot a graph with 2 Y axis of different scale in Matlab 2015?
14 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Neha Sinha
le 15 Jan 2019
Modifié(e) : Yadu Bhusal
le 2 Mar 2022
I need to plot 2 plots on the same graph with one y axis on the left and other y axis on the right in Matlab 2015.
0 commentaires
Réponse acceptée
Mustafa Abu-Mallouh
le 15 Jan 2019
Modifié(e) : Mustafa Abu-Mallouh
le 15 Jan 2019
2 commentaires
Yadu Bhusal
le 2 Mar 2022
Modifié(e) : Yadu Bhusal
le 2 Mar 2022
Well I was stuck on the same problem. I want 3 data set in primary y axis and 2 data set on secondary y axis with common data along x axis. I tried with [hAx, hLine1, hLine2] = plotyy([x',x',x'],[y1,y2,y3],[x',x'],[y4,y5]) It didn't work. But it worked for two data on primary and one data in secondary. Any help would be appreciated.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!