Change the name of a figure in a Correlation plot

9 ビュー (過去 30 日間)
Patricia Alejandra Palacios Romero
Patricia Alejandra Palacios Romero 2018 年 5 月 24 日
編集済み: Adam Danz 2020 年 9 月 7 日
I need to change either the name of the figure or the title of the figure of my correlation plot (which is a correlation matrix). I tried to change the name of the figure but when I run the code it creates 2 figures: one with the new nane and another one with the correlation plot. I already try the hold on/ hold off function but it does not seem to work.
figure('Name','Refined data','NumberTitle','off');
corrplot(Corr,'varNames',{(x_input_plot),(y_input_plot)});
Thanks for any help :)

採用された回答

jonas
jonas 2018 年 5 月 24 日
Just set the name of your figure by
set(gcf,'Name','string')
  1 件のコメント
Patricia Alejandra Palacios Romero
Patricia Alejandra Palacios Romero 2018 年 6 月 6 日
Sorry but the late comment. That really worked! thanks!

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

その他の回答 (1 件)

Adam Danz
Adam Danz 2018 年 10 月 3 日
編集済み: Adam Danz 2020 年 9 月 7 日
I was also searching how to change the title (not the figure name) of a corrplot() plot but I couldn't find this addressed anywhere in the forum. Here's how to change the title:

カテゴリ

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