How to save "corrplot" figures?

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

 Accepted Answer

Have you tried this?
saveas(gcf,'filename.png'); %Use to display save as image

2 Comments

Worked! Thanks!
Welcome
Happy to help!
Regards
Kalyan Acharjya

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!