plot graph figures as binary image

Risposte (2)

The preferred way for R2020a and later is:
exportgraphics(gcf, 'MyFigure.png'); % Or can use gca for the axis (not the whole figure);
Zhang Qingyang
Zhang Qingyang il 24 Dic 2020

0 voti

saveas
such as
saveas(gca,'Filename.jpg');
gca is the handle of you current axis

Richiesto:

il 24 Dic 2020

Commentato:

il 24 Dic 2020

Community Treasure Hunt

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

Start Hunting!

Translated by