Insert Text in plot

2 views (last 30 days)
Amit Kalhapure
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
Amit Kalhapure on 24 Nov 2012
What if the text is a value from array ?
Azzi Abdelmalek
Azzi Abdelmalek on 24 Nov 2012
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)

Tags

Products

Community Treasure Hunt

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

Start Hunting!