How to make two y-axis with use of stairs function to plot ???

4 vues (au cours des 30 derniers jours)
Isa Duran
Isa Duran le 11 Juil 2014
Réponse apportée : dpb le 11 Juil 2014
Hi guys! Im plotting a set of data and one of them is way larger then the others, so I need to have two y-axis in one plot. Im using stairs function to plot, so I can't use plotyy function... Can you help me?
Isa

Réponse acceptée

dpb
dpb le 11 Juil 2014
... Im using stairs function to plot, so I can't use plotyy function
Of course you can...
hAx=plotyy(x1,y1,x2,y2,@stairs,@stairs);
Read the documentation thoroughly... :)

Plus de réponses (0)

Catégories

En savoir plus sur Two y-axis 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!

Translated by