Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plotting
Date: Tue, 9 Sep 2008 15:21:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 20
Message-ID: <ga648u$bbi$1@fred.mathworks.com>
References: <ga0kc5$t7g$1@fred.mathworks.com> <ga0s7e$p07$1@fred.mathworks.com> <ga1f6u$qef$1@fred.mathworks.com> <ga232h$hih$1@fred.mathworks.com> <ga2rnu$6eh$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1220973663 11634 172.30.248.37 (9 Sep 2008 15:21:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 9 Sep 2008 15:21:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1179041
Xref: news.mathworks.com comp.soft-sys.matlab:489388



thanks for the tip!

"Gavrilo Bozovic" <gavrilo.bozovic@helbling.ch> wrote in message <ga2rnu$6eh$1@fred.mathworks.com>...
> You are plotting straight lines --> you'll be best using the "line" function, with only the start and end points of the line. It will all be nice and smooth.
> 
> Then just a side comment: if you want to plot several curves in one set of axes, you just have to type "hold on" once.
> 
> for instance:
> 
> figure,
> grid on
> hold on
> plot(...)
> plot(...)
> plot(...)
> 
> will do, and so you won't add unncessary lines to your code.
> 
>