imwrite plots not saving

I don't seem to save with imwrite a plot. Is this possible at all?

답변 (3개)

Azzi Abdelmalek
Azzi Abdelmalek 2013년 3월 17일
편집: Azzi Abdelmalek 2013년 3월 17일

1 개 추천

If you want to save a plot use saveas
Youssef  Khmou
Youssef Khmou 2013년 3월 17일
편집: Youssef Khmou 2013년 3월 17일

0 개 추천

hi,
use the commande 'print'
example ,
figure, plot(randn(100,1));
print(figure(1),'C:\users\.......\your_image.jpg');

댓글 수: 2

Nuchto
Nuchto 2013년 3월 17일
Thanks, why does imwrite not work?
Youssef  Khmou
Youssef Khmou 2013년 3월 17일
편집: Youssef Khmou 2013년 3월 17일
imwrite works for images, if you want save an image , any function that start with 'im' is likely for images manpulations

댓글을 달려면 로그인하십시오.

Image Analyst
Image Analyst 2013년 3월 17일

0 개 추천

Please see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_save_my_figure.2C_axes.2C_or_image.3F_I.27m_having_trouble_with_the_built_in_MATLAB_functions. Basically, use just export_fig() like most everyone else does (it's the most downloaded File Exchange submission ever, and for good reason).

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2013년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by