Insert Text in plot

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

Sign in to comment.

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 23 Nov 2012
Edited: Azzi Abdelmalek on 23 Nov 2012
text(x,y,'yourtext')

More Answers (0)

Products

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!