Path: news.mathworks.com!not-for-mail
From: "us " <us@neurol.unizh.ch>
Newsgroups: comp.soft-sys.matlab
Subject: Re: stem not connected with the axis
Date: Mon, 6 Aug 2007 13:48:52 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 13
Message-ID: <f978s4$lo5$1@fred.mathworks.com>
References: <f9782i$t6b$1@fred.mathworks.com>
Reply-To: "us " <us@neurol.unizh.ch>
NNTP-Posting-Host: webapp-01-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1186408132 22277 172.30.248.36 (6 Aug 2007 13:48:52 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 6 Aug 2007 13:48:52 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:422598


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