From: "Prasad M. Rao" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plotting a graph of three variables
Date: Sat, 18 Sep 2010 13:46:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <i72fqr$gip$>
References: <i5d7in$p17$> <i5ddlj$ilv$> <i5dkbb$lco$> <i5dkoh$hj1$> <i5dtfr$10r$> <i5edc0$euq$>
Reply-To: "Prasad M. Rao" <>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: 1284817563 16985 (18 Sep 2010 13:46:03 GMT)
NNTP-Posting-Date: Sat, 18 Sep 2010 13:46:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2464856
Xref: comp.soft-sys.matlab:671084

Hey, I really need your help.
Apologies for the delay.
Lets see how helpful I cane be in my problem.
I have three variables say X, Y and Z.
I need to plot X vs. Y.
Now the problem:
1. Y is changing, so is Z.
So now what I need is the graph of X vs. Y at different Z.
2. Now all the variables (X,Y & Z) have thousands of values in them, but I would like the graphs at just some discrete points of Z.
3. OK I know that the graph of X vs. Y is a curve. So now all I want is multiple graphs on the same page of X vs. Y at different Z.
The people who know the exact code, said that I needed to use one or two for loops, the plot and the hold commands.
Please need help on this.