From: crazee on
Hello,

I am trying to save Matlab plots for putting it on web pages. I am struggling to save them in a perfect way, so that they look as good as the images on Matlab website itself (e.g. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.html).

I saw that Matlab website publishes images in gif format and very low file size. Can anybody help me in understanding the procedure to generate such images?

Thanks a lot.
From: Nicholas Kinar on
On 10-04-09 10:31 AM, crazee wrote:
> Hello,
>
> I am trying to save Matlab plots for putting it on web pages. I am
> struggling to save them in a perfect way, so that they look as good as
> the images on Matlab website itself (e.g.
> http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.html).
>
> I saw that Matlab website publishes images in gif format and very low
> file size. Can anybody help me in understanding the procedure to
> generate such images?
>
> Thanks a lot.

Perhaps this information would be of interest?

http://www.zaphu.com/2007/09/13/how-to-customize-and-improve-matlab-figures-for-publication/

http://blogs.mathworks.com/loren/2007/12/11/making-pretty-graphs/

http://blogs.mathworks.com/pick/2008/08/29/smooth-matlab-graphics/
From: Oliver Woodford on
"crazee " wrote:
> Hello,
>
> I am trying to save Matlab plots for putting it on web pages. I am struggling to save them in a perfect way, so that they look as good as the images on Matlab website itself (e.g. http://www.mathworks.com/access/helpdesk/help/techdoc/ref/plot.html).
>
> I saw that Matlab website publishes images in gif format and very low file size. Can anybody help me in understanding the procedure to generate such images?
>
> Thanks a lot.

I suggest you use export_fig (http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig), and save as a png (better than gif). To get good 2d plots try the -painters and -a2 options.