From: Joopin Ahmadi on
Hi

I need your help, and your help would be really appreciated. Thanks.

I ran in to a problem, I need to plot a graph with the below features.

I have a series of X data and corresponding to these Xs, I have 3 series of Ys.

I have to plot these data which would be 3 graphs in just a single Figure.

So I need a command in MATLAB which can plot 3 graphs with 3 different scales in a single figure.

On the other hand, I need those y axes in the logarithmic scale.The x axis is in the linear scale.
any idea would be ok...
here is a sample picture:
http://i741.photobucket.com/albums/xx53/joopin/sdarticle2009_Page_08.jpg

I`m really looking forward to your kind help.

Good luck,

Joopin
From: Wayne King on
"Joopin Ahmadi" <joopinahmadi(a)yahoo.com> wrote in message <hhhu0b$b6t$1(a)fred.mathworks.com>...
> Hi
>
> I need your help, and your help would be really appreciated. Thanks.
>
> I ran in to a problem, I need to plot a graph with the below features.
>
> I have a series of X data and corresponding to these Xs, I have 3 series of Ys.
>
> I have to plot these data which would be 3 graphs in just a single Figure.
>
> So I need a command in MATLAB which can plot 3 graphs with 3 different scales in a single figure.
>
> On the other hand, I need those y axes in the logarithmic scale.The x axis is in the linear scale.
> any idea would be ok...
> here is a sample picture:
> http://i741.photobucket.com/albums/xx53/joopin/sdarticle2009_Page_08.jpg
>
> I`m really looking forward to your kind help.
>
> Good luck,
>
> Joopin

Hi,
>>doc hold

or place your Y values in a matrix

also look at
>>doc semilogy

or if you wanted to plot the Y as something like dB, you can always just do
plot(X,10*log10(Y)).

You should really spend some time going through the Matlab documentation. Particularly things like the basic Getting Started guide.

Hope that helps,
Wayne
From: ImageAnalyst on
And make sure you use "hold on" in between the 3 calls to plot your
data or else your latest plot will blow away your earlier one.
From: Joopin Ahmadi on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <f1cfbddf-b446-4f53-bd89-69bffaddf677(a)h2g2000vbd.googlegroups.com>...
> And make sure you use "hold on" in between the 3 calls to plot your
> data or else your latest plot will blow away your earlier one.


yes you are right , i need 3 y-axis with 3 different scale but as far as i know , with the "hold" command we are able to plot several graph with just 1 y axis. so then how about 3 y axis...!!!?i need to have 3 separate y-axis in just one figure!!!
hope i can make it clear!
Cheers,
Joopin