how to use two y axis in plot?

Respuestas (1)

madhan ravi
madhan ravi el 17 de Mayo de 2019
doc plotyy

7 comentarios

Puspa patra
Puspa patra el 17 de Mayo de 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 el 17 de Mayo de 2019
yes, I have tried this, but nothing is working
madhan ravi
madhan ravi el 17 de Mayo de 2019
Show your code it’s totally useless with the phrase nothing is working
Puspa patra
Puspa patra el 17 de Mayo de 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 el 17 de Mayo de 2019
Editada: madhan ravi el 17 de Mayo de 2019
I can't run your code without knowing y1,y2,y3
Puspa patra
Puspa patra el 17 de Mayo de 2019
thank you

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 17 de Mayo de 2019

Comentada:

el 17 de Mayo de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by