Text in a matlab plot

11 views (last 30 days)
JA
JA on 13 Oct 2016
Commented: JA on 13 Oct 2016
I know how top write a text in a plot, but this is a bit more complicated. Not entirely sure if matlab is capable of this. Below is a rough Interpretation of how i want my text to be, I did it in plain paint. So it might look ugly. But you will get an idea of what i am trying to say.
Fig:
I want to have a little bit long arrow and a box around the text.

Answers (1)

KSSV
KSSV on 13 Oct 2016
Once you plot, in figure there is an option of inserting text box using gui. Check insert in the figure window. Multiple options are there for inserting text box. And if you want to insert textbox manually doc text
  3 Comments
KSSV
KSSV on 13 Oct 2016
How about manually using text()?
You can try some figure exporting packages for good clarity of figures. Have you tried any?
JA
JA on 13 Oct 2016
I normally use 'export_fig()' which gives me amazing clarity. But I have no idea if i insert textbox from the menu i get real bad clarity. But if i insert textbox using 'annotation'(which i am not good at positing) I get proper images. I am trying to use 'annotation()'. It's pretty complicated to position the textbox and arrows.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!