how to use two y axis in plot?

Antworten (1)

madhan ravi
madhan ravi am 17 Mai 2019

1 Stimme

doc plotyy

7 Kommentare

Puspa patra
Puspa patra am 17 Mai 2019
yes that I get, but I couldn't plot two or more parameters, like I have two parameters to plot in y left axis and the same with y right axis
Puspa patra
Puspa patra am 17 Mai 2019
yes, I have tried this, but nothing is working
madhan ravi
madhan ravi am 17 Mai 2019
Show your code it’s totally useless with the phrase nothing is working
Puspa patra
Puspa patra am 17 Mai 2019
x = 1:120977;
y1 = daily_temp;
y2 = daily_rain;
y3 = bb;
figure
[hAx,hLine1,hLine2] = plotyy(x,y1,[x',x'],[y2',y3']);
madhan ravi
madhan ravi am 17 Mai 2019
Bearbeitet: madhan ravi am 17 Mai 2019
I can't run your code without knowing y1,y2,y3
Puspa patra
Puspa patra am 17 Mai 2019
thank you

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Mai 2019

Kommentiert:

am 17 Mai 2019

Community Treasure Hunt

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

Start Hunting!

Translated by