Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Arrow in plots
Date: Thu, 1 Nov 2007 01:03:35 +0000 (UTC)
Organization: University of Memphis
Lines: 16
Message-ID: <fgb8l7$f1m$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 1193879015 15414 172.30.248.37 (1 Nov 2007 01:03:35 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 1 Nov 2007 01:03:35 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 233092
Xref: news.mathworks.com comp.soft-sys.matlab:435529



Has anybody used 'arrow' successfully?

Try:

figure
plot(1:10)
arrow([4 0],[4 4])

this should draw an arrow from the x-axis to the straight
line.  But all I get is an error: 

??? Error using ==> and
NaN's cannot be converted to logicals.

Error in ==> arrow at 731
page = (~isnan(page))&(page);