How to save "corrplot" figures?

18 views (last 30 days)
Hello! I have a question about the corrplot figures. How can I save my corrplot figures as a png file using the "save" function? For some reason, corrplot does not like to be saved unless I do it manually from the top left corner, clicking "save as...".
Thanks in advance,
Tutku
  1 Comment
KALYAN ACHARJYA
KALYAN ACHARJYA on 10 Sep 2018
Is it display figure in the figure window?

Sign in to comment.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 10 Sep 2018
Have you tried this?
saveas(gcf,'filename.png'); %Use to display save as image
  2 Comments
Tutku Oztel
Tutku Oztel on 10 Sep 2018
Worked! Thanks!
KALYAN ACHARJYA
KALYAN ACHARJYA on 10 Sep 2018
Welcome
Happy to help!
Regards
Kalyan Acharjya

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!