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

4 views (last 30 days)
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

Accepted Answer

dpb
dpb on 11 Jul 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... :)

More Answers (0)

Categories

Find more on Two y-axis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!