plot graph figures as binary image
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
If I want to plot a figure and save as binary image in jpg or png file, what command should I use?
0 comentarios
Respuestas (2)
Image Analyst
el 24 de Dic. de 2020
The preferred way for R2020a and later is:
exportgraphics(gcf, 'MyFigure.png'); % Or can use gca for the axis (not the whole figure);
1 comentario
Zhang Qingyang
el 24 de Dic. de 2020
saveas
such as
saveas(gca,'Filename.jpg');
gca is the handle of you current axis
0 comentarios
Ver también
Categorías
Más información sobre Printing and Saving en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!