how can set the string in bar plot??

1 回表示 (過去 30 日間)
ahmad hashemi
ahmad hashemi 2017 年 3 月 24 日
コメント済み: ahmad hashemi 2017 年 3 月 26 日
hi everybody I'm gonna to do this work? What do I do?

採用された回答

mizuki
mizuki 2017 年 3 月 26 日
The easiest way is to use plot tools
>> plottools
and insert the text arrow.
Another way is to use annotation command.
f1 = figure;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(y)
annotation(f1,'textarrow',[0.55 0.8],...
[0.87 0.87],'String',{'this work'});
  1 件のコメント
ahmad hashemi
ahmad hashemi 2017 年 3 月 26 日
this good way   thanks but i used the code {text} for this work

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

その他の回答 (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