plot graph figures as binary image

回答(2 个)

The preferred way for R2020a and later is:
exportgraphics(gcf, 'MyFigure.png'); % Or can use gca for the axis (not the whole figure);
saveas
such as
saveas(gca,'Filename.jpg');
gca is the handle of you current axis

提问:

2020-12-24

Community Treasure Hunt

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

Start Hunting!

Translated by