about picture saving from figure
이전 댓글 표시
I want to ask about the picture saving.
If I have picture that show by "matlab figure" then,I must save the picture
but,when I choose save button for xxx.bmp ,the picture is not clear.
could you give other ways for saving picture from the figure.
Thank!!
답변 (3개)
Luffy
2012년 7월 7일
편집: Walter Roberson
2012년 7월 9일
Do you need your figure to be only in bmp format,if not
h=figure;
plot(sind(1:360));
saveas(h,'picture','png') % it saves with file name picture.
Luffy
2012년 7월 7일
편집: Walter Roberson
2012년 7월 9일
@Pan:
Say you hv to save 10 figures,
for ii = 1:10
h(ii)=figure;
end
% Now saving figures
for ii = 1:10
saveas(h(ii),sprintf('Fig%i',ii),'png');
end
댓글 수: 5
Pan
2012년 7월 8일
Pan
2012년 7월 9일
Walter Roberson
2012년 7월 9일
편집: Walter Roberson
2012년 7월 9일
After the imshow()
saveas( f, sprintf('Fig%i',i), 'png');
and move the "f=f+1" to after that saveas()
Pan
2012년 7월 9일
Pan
2012년 7월 10일
Image Analyst
2012년 7월 7일
편집: Image Analyst
2012년 7월 7일
0 개 추천
카테고리
도움말 센터 및 File Exchange에서 Printing and Saving에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!