On Dec 16, 7:44 pm, "mona " <iee2...@yahoo.com> wrote:
> TideMan <mul...@gmail.com> wrote in message <2c3f08b9908a426db969a92871577...@g4g2000pri.googlegroups.com>...
> > On Dec 16, 9:39?am, "mona " <iee2...@yahoo.com> wrote:
> > > Hi all ;
> > > I have this data:x=[ 0, .01 ,.02, .3];z=[.09 ,.08 ,.05, 0];
> > > and y=[ 0 ,.01 ,.02 ,.3];w=[.08, .06, .02 0];
> > > I want to plot (x,z) and plot (y,w) in same figure but ?my problem ? that I have to use x as x_axis and y as y_axis
> > > how can I do that;
> > > thanks
>
> > Your intention is not clear, but here is my interpretation of what you
> > want:
> > Either:
> > plot(x,z,y,w)
> > or:
> > plot(x,z)
> > hold on
> > plot(y,w,'r')
> > hold off
>
> If I do that will get x as x_axis and z as y_axis
> but I want
> x as x_axis and y as y_axis
> so how can I handle the axis
> thanks
You're making no sense whatever.
You said:
"I want to plot (x,z) and plot (y,w) in same figure"
which is what I showed you.
Now, you say you want to plot y on the yaxis.
What on earth are you talking about?
If you plot y on the yaxis, where do z and w get plotted?
On the xaxis or the yaxis?
