Annotation with angled arrow

조회 수: 9 (최근 30일)
Punit
Punit 2015년 4월 22일
답변: Mike Garrity 2015년 4월 24일
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

채택된 답변

Mike Garrity
Mike Garrity 2015년 4월 24일
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')

추가 답변 (1개)

Radha Krishna Maddukuri
Radha Krishna Maddukuri 2015년 4월 24일
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.

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by