plot graph figures as binary image
이전 댓글 표시
If I want to plot a figure and save as binary image in jpg or png file, what command should I use?
답변 (2개)
Image Analyst
2020년 12월 24일
The preferred way for R2020a and later is:
exportgraphics(gcf, 'MyFigure.png'); % Or can use gca for the axis (not the whole figure);
댓글 수: 1
Zhang Qingyang
2020년 12월 24일
Obviously you are more professional!
Zhang Qingyang
2020년 12월 24일
0 개 추천
saveas
such as
saveas(gca,'Filename.jpg');
gca is the handle of you current axis
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!