Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!feeder.news-service.com!newsfeed.straub-nv.de!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plotting a graph of three variables
Date: Sun, 03 Oct 2010 08:48:59 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <i8a1s7$ht8$1@news.eternal-september.org>
References: <i5d7in$p17$1@fred.mathworks.com> <i5ddlj$ilv$1@fred.mathworks.com> <i5dkbb$lco$1@fred.mathworks.com> <i5dkoh$hj1$1@fred.mathworks.com> <i5dtfr$10r$1@fred.mathworks.com> <i5edc0$euq$1@fred.mathworks.com> <i72fqr$gip$1@fred.mathworks.com> <i72iu8$153$1@fred.mathworks.com> <i73ko5$mv0$1@fred.mathworks.com> <i73m5c$ktu$1@fred.mathworks.com> <i73o4s$nmb$1@fred.mathworks.com> <i74djn$4gb$1@fred.mathworks.com> <i751gm$b82$1@fred.mathworks.com> <i75uo8$nr1$1@fred.mathworks.com> <i84vcl$c05$1@fred.mathworks.com> <i85mjk$eia$1@fred.mathworks.com> <i86bbc$sqi$1@fred.mathworks.com> <i89103$a1t$1@fred.mathworks.com> <i8988j$f4a$1@fred.mathworks.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 3 Oct 2010 13:53:12 +0000 (UTC)
Injection-Info: mx02.eternal-september.org; posting-host="VaADfqYXHdm9uV63IQ5w3g";
	logging-data="18344"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18vr8gWMQd6ImCHa8xr4gut"
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
In-Reply-To: <HIDDEN>
Cancel-Lock: sha1:YmEZxXOM9LoBzaYpLMNhkW65Qp4=
Xref: news.mathworks.com comp.soft-sys.matlab:675423

Prasad M. Rao wrote:
> @ Mark: Here's the code, it's just your code.
> 
> IX1 = find (LS > 0 & LS < 1.0) X1 = SM(IX1);
> Y1 = FB(IX1);
> figure(1)
...
> figure(2)
> plot(X2, Y2,'-b')
> hold on
...
> figure(3)
> plot(X3, Y3,'-g')
> hold off
> 
> Hoping for a reply.
> Thanks.

Well, you could have done last time and at least one would think you 
could spell Marc's name correctly.

If you're going to specify a unique figure number before each plot(), of 
course you're going to get a new figure...don't do that.

--