imwrite plots not saving
3 ビュー (過去 30 日間)
古いコメントを表示
I don't seem to save with imwrite a plot. Is this possible at all?
0 件のコメント
回答 (3 件)
Youssef Khmou
2013 年 3 月 17 日
編集済み: Youssef Khmou
2013 年 3 月 17 日
hi,
use the commande 'print'
example ,
figure, plot(randn(100,1));
print(figure(1),'C:\users\.......\your_image.jpg');
2 件のコメント
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
2013 年 3 月 17 日
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).
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!