Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Drawing
Date: Mon, 8 Oct 2007 20:44:55 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 18
Message-ID: <fee4s7$att$1@fred.mathworks.com>
References: <fee3l5$i9m$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 1191876295 11197 172.30.248.35 (8 Oct 2007 20:44:55 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 8 Oct 2007 20:44:55 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870065
Xref: news.mathworks.com comp.soft-sys.matlab:431888



"First Last" <nospam@nospamplease.com> wrote in message 
<fee3l5$i9m$1@fred.mathworks.com>...
> Is there a trivial way to draw the y = 0 and x = 0 lines 
in
> MATLAB? It should be easy to do ... 

take a look at my GRIDXY:
http://www.mathworks.com/matlabcentral/fileexchange/loadFile
.do?objectId=9973&objectType=FILE

(beware of line wraps) ;

An example:
plot(randn(1000,1),randn(1000,1),'b.') ;
gridxy(0,0,'color','k','linestyle','-','linewidth',2)

hth
Jos