Path: news.mathworks.com!not-for-mail
From: "Thomas Clerc" <thomas.clerc@unifr.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: stem not connected with the axis
Date: Mon, 6 Aug 2007 14:01:11 +0000 (UTC)
Organization: Fribourg
Lines: 18
Message-ID: <f979j7$beo$1@fred.mathworks.com>
References: <f9782i$t6b$1@fred.mathworks.com> <f978s4$lo5$1@fred.mathworks.com>
Reply-To: "Thomas Clerc" <thomas.clerc@unifr.ch>
NNTP-Posting-Host: webapp-00-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186408871 11736 172.30.248.35 (6 Aug 2007 14:01:11 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Aug 2007 14:01:11 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1074433
Xref: news.mathworks.com comp.soft-sys.matlab:422601


"us " <us@neurol.unizh.ch> wrote in message
<f978s4$lo5$1@fred.mathworks.com>...
> Thomas Clerc:
> <SNIP abusing <stem>...
> 
> > x=-50:50; plot(x,-(x-3).^2-20 ); stem(-3,-20); ??
> 
> should read:
> 
>      x=-50:50;
>      plot(x,-(x-3).^2-20);
>      yl=get(gca,'ylim');
>      line([3;3],[yl(1);-20],'color',[1,0,0]);
> 
> us

us you are the best ever!!