Text in a matlab plot

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.

Respuestas (1)

KSSV
KSSV el 13 de Oct. de 2016

0 votos

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 comentarios

JA
JA el 13 de Oct. de 2016
I tried using the insert option, but when i export the fig as pdf. The Quality is so bad.
KSSV
KSSV el 13 de Oct. de 2016
How about manually using text()?
You can try some figure exporting packages for good clarity of figures. Have you tried any?
JA
JA el 13 de Oct. de 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.

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

JA
el 13 de Oct. de 2016

Comentada:

JA
el 13 de Oct. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by