MATLAB Answers

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

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today