From: AP Pal on
i am trying to plot two data sets in one graph with different y axis as both the data sets have different length. I am able to plot two data sets .
Is there a way to plot a 3rd data set on the same graph? if i am using a same x axis scale.
i am using
[haxes,hline1,hline2] = plotyy(plottimev, T22AvgPower,plottimesc, T22WSFit,'plot','plot');
command.


thanks a lot.
From: dpb on
AP Pal wrote:
> i am trying to plot two data sets in one graph with different y axis
> as both the data sets have different length. I am able to plot two
> data sets . Is there a way to plot a 3rd data set on the same graph?
> if i am using a same x axis scale. i am using [haxes,hline1,hline2] =
> plotyy(plottimev, T22AvgPower,plottimesc, T22WSFit,'plot','plot');
> command.
....

doc hold

and read section on customizing/advanced plotting

--
From: AP Pal on
dpb <none(a)non.net> wrote in message <hab40c$sat$1(a)news.eternal-september.org>...
> AP Pal wrote:
> > i am trying to plot two data sets in one graph with different y axis
> > as both the data sets have different length. I am able to plot two
> > data sets . Is there a way to plot a 3rd data set on the same graph?
> > if i am using a same x axis scale. i am using [haxes,hline1,hline2] =
> > plotyy(plottimev, T22AvgPower,plottimesc, T22WSFit,'plot','plot');
> > command.
> ...
>
> doc hold
>
> and read section on customizing/advanced plotting
>
> --

can you please explain it it details? i am new to matlab.