From: Ahmed on 7 Jun 2010 14:56 Hi, I'm creating a sequence of plots in my code how can i export this is as a gif file if possible thanks
From: Walter Roberson on 7 Jun 2010 15:22 Ahmed wrote: > I'm creating a sequence of plots in my code > how can i export this is as a gif file if possible Unfortunately for you, the simpler approaches do not support GIF files (but they do support many other graphics files.) You will have to use getframe() to store the plot into a data matrix and then use imwrite() to write the frame to a GIF file. Do not be surprised if the image comes out very small on a printer, though -- screen resolution is usually only 72 or 100 dots per inch, whereas printer resolution is often 300 to 1200 dots per inch. If you were to use nearly any other file format, you could use print() or saveas() without having to getframe() the plot. Note: If you are creating a GIF animation, use imwrite() with a 'WriteMode' parameter of 'append', and specify the 'DelayTime' property.
From: sscnekro on 7 Jun 2010 15:27 > this is as a gif file if possible It should be possible. Works this for you? http://www.mathworks.in/matlabcentral/newsreader/view_thread/158153
|
Pages: 1 Prev: Problems with copyobj() in a uicontextmenu callback function Next: problem with fdesign |