Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Plot browser bug?
Date: Mon, 6 Jul 2009 00:08:01 +0000 (UTC)
Organization: Massachusetts Institute of Technology
Lines: 38
Message-ID: <h2rf91$q15$1@fred.mathworks.com>
References: <h2lvad$9bc$1@fred.mathworks.com> <h2rdav$o1h$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1246838881 26661 172.30.248.35 (6 Jul 2009 00:08:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Jul 2009 00:08:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1896075
Xref: news.mathworks.com comp.soft-sys.matlab:552944


Here is a very simple code:

a = [1 2 3 4 5];
b = a + 1;
c = a * 2;
d = a - 3;

figure;
plot (a,b);
hold on;
plot (a,c);
plot (a,d);

Very interestingly, it sometimes works perfectly but in some cases, no lines are displayed. Only the axis is shown there.

Thanks,

Jungwoo

"Steven Lord" <slord@mathworks.com> wrote in message <h2rdav$o1h$1@fred.mathworks.com>...
> 
> "Jungwoo " <idonthaveit@dont.have> wrote in message 
> news:h2lvad$9bc$1@fred.mathworks.com...
> > Hi,
> >
> > I recently updated my matlab to R2008a (7.6.0). I guess I used to use 
> > R2007. I realized that plot browser has some bugs. For certain figures, 
> > not all the lines in the graph are shown there. Sometimes, none of the 
> > lines show up. What am I doing wrong? I had never had this problem with my 
> > old version.
> 
> You should send an example figure that demonstrates this behavior to 
> Technical Support for investigation.
> 
> -- 
> Steve Lord
> slord@mathworks.com 
>