フィルターのクリア

For loops and figure window title

1 回表示 (過去 30 日間)
Debbie Oomen
Debbie Oomen 2017 年 11 月 3 日
コメント済み: KL 2017 年 11 月 3 日
I have several figures. I want the title of the window figure to say the basename of the file belonging to the figure. The figures are in a loop. So the code for looping the figures without overwriting one another is:
figure(i)
but how can I change this title to my basename?

採用された回答

KL
KL 2017 年 11 月 3 日
figure('Name',basename{k},'NumberTitle','off')
  6 件のコメント
Debbie Oomen
Debbie Oomen 2017 年 11 月 3 日
Yes, I tried this as well but unfortunately 2 out of the 3 figures get plotted correctly (each figure has 4 subplots), but 1 out of the 3 opens a whole new figure without a basename title with one subplot.. I do not know how to fix this..
KL
KL 2017 年 11 月 3 日
It's hard to guess why without knowing more details. Try to set a breakpoint and run it step by step maybe.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGraphics Object Properties についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by