Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Arrow in plots

Subject: Arrow in plots

From: Paul

Date: 1 Nov, 2007 01:03:34

Message: 1 of 1

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);

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us