MATLAB Answers

0

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

What if the text is a value from array ?

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


Join the 15-year community celebration.

Play games and win prizes!

Learn more
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

MATLAB Academy

New to MATLAB?

Learn MATLAB today!