imwrite plots not saving

Antworten (3)

Azzi Abdelmalek
Azzi Abdelmalek am 17 Mär. 2013
Bearbeitet: Azzi Abdelmalek am 17 Mär. 2013

1 Stimme

If you want to save a plot use saveas
Youssef  Khmou
Youssef Khmou am 17 Mär. 2013
Bearbeitet: Youssef Khmou am 17 Mär. 2013

0 Stimmen

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

2 Kommentare

Nuchto
Nuchto am 17 Mär. 2013
Thanks, why does imwrite not work?
Youssef  Khmou
Youssef Khmou am 17 Mär. 2013
Bearbeitet: Youssef Khmou am 17 Mär. 2013
imwrite works for images, if you want save an image , any function that start with 'im' is likely for images manpulations

Melden Sie sich an, um zu kommentieren.

Image Analyst
Image Analyst am 17 Mär. 2013

0 Stimmen

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).

Kategorien

Mehr zu Images finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 17 Mär. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by