フィルターのクリア

How to add and arrange a text in a plot using commands?

3 ビュー (過去 30 日間)
Vishnu
Vishnu 2014 年 9 月 29 日
コメント済み: Vishnu 2014 年 9 月 29 日
How to add and arrange a text box in the plot by using commands in matlab?

採用された回答

Mike Garrity
Mike Garrity 2014 年 9 月 29 日
It's hiding in the annotation command.
h = annotation('textbox')
After you've created it, you can use the set command to change things.
set(h,'String','Something or other')
set(h,'Position',[.3 .8 .4 .1])
set(h,'HorizontalAlignment','center')
You can also pass those sets into the annotation command:
annotation('textbox','String','another one','FontSize',24)
  1 件のコメント
Vishnu
Vishnu 2014 年 9 月 29 日
Thank you very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by