How do I add a variable date in a graphtitle?

1 回表示 (過去 30 日間)
Tessa
Tessa 2014 年 12 月 9 日
コメント済み: Tessa 2014 年 12 月 9 日
Hey,
I like to add dates in the title of my graphs. I´m creating graphs in a loop and every round I´m saving them. I have a list cell with the dates with i as indicator.
How do I make something like this? title('Wind rose',Date(i))
ps I´m also wondering if anyone knows how to change the figure name while saving (also variable but needs to be something like figure01, figure02 etc.
Thanks!

採用された回答

Orion
Orion 2014 年 12 月 9 日
Hi,
1) title(sprintf('Wind rose : %s',date))
2) set(gcf,'Name','My Figure 01')
  1 件のコメント
Tessa
Tessa 2014 年 12 月 9 日
Thanks :)

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by