adding multiple arrows with latex in a plot

9 ビュー (過去 30 日間)
Meva
Meva 2015 年 6 月 3 日
回答済み: Vinod Sudheesh 2015 年 6 月 8 日
Hi,
I have a plotting code but I cannot set two latex texts in a plot with arrows. Anyone knows?

回答 (1 件)

Vinod Sudheesh
Vinod Sudheesh 2015 年 6 月 8 日
Hi Meva,
I am not sure if I understand your question completely. Are you wanting to add a "textarrow" annotation object to your plot that has more than one line of text?
If so, you could achieve the same using the code snippet below (in R2014b and R2015a)
F=figure();
plot(1:10);
h = annotation('textarrow');
set(h,'Parent',gca)
set(h,'String',{'\epsilon','\theta'})
set(h,'FontSize',18)
set(h,'X',[5 7]);
set(h,'Y',[5 5]);
Hope this helps !
Thanks
Vinod

カテゴリ

Help Center および File ExchangeLabels and Annotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by