![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176363/image.png)
Annotation with angled arrow
9 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I would like to use \nwarrow in the annotation text. But these latex commands are not supported in matlab, How do I get an angled arrow to my annotation?
Thanks
-Punit
0 Commenti
Risposta accettata
Mike Garrity
il 24 Apr 2015
They are supported, but the default interpreter for annotations is tex. You'll need to set it to latex to get what you want:
annotation('textbox','String','$$X \nwarrow A$$','Interpreter','latex')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/176363/image.png)
0 Commenti
Più risposte (1)
Radha Krishna Maddukuri
il 24 Apr 2015
After plotting a figure, for example:
plot(1:1:10,2:2:20)
Now in the figure, from the menu bar choose View --> Figure Palette. Here there are lot of annotations available.
Hope this helps.
0 Commenti
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!