|
Hello Yoav,
yup there is a way
plotty(x1,y1,x2,y2)
in your case, x1 = x2... and you'll have both plots on the
same figure with different y axis.
hope it helps
Daniel Sutoyo
"Yoav Rubin" <yoavrubin@hotmail.com> wrote in message
<ffru0q$q7o$1@fred.mathworks.com>...
> Hi All,
> I have two data sets that has the same x values, but differ
> on their y values. Moreover, the y values are different by
> several magnitudes. The problem is that I want to display
> both of them on the same axis. If I just use plot and hold
> on, the data set that has the smaller y values shrinks and
> it is impossible to view it properly. Is there a way to plot
> the second data set on the same axis (using hold on) but to
> specify that the new plot needs a different y scale, that
> would be presented on the other side of the axis?
>
> thanks
> Yoav
|