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

Insert Text in plot

Asked by Amit Kalhapure on 23 Nov 2012

Hi,

 I want to insert text at particular intervals in a plot.  What command should I use?

Amit

2 Comments

Amit Kalhapure on 24 Nov 2012

What if the text is a value from array ?

Azzi Abdelmalek on 24 Nov 2012

use

 text(x,y,num2str(yourvalue))
Amit Kalhapure

Tags

Products

1 Answer

Answer by Azzi Abdelmalek on 23 Nov 2012
Edited by Azzi Abdelmalek on 23 Nov 2012
Accepted answer
 text(x,y,'yourtext')

0 Comments

Azzi Abdelmalek

Contact us