From: Davide on
Hi All,
is there a way of writing in a code all the necessary steps to export a pictures into a file?
I mean all the steps that you normally do from the FIGURE menus,
such as

File-> export setup->Size (Apply to figure)
Rendering (Colorspace CMYK color)
Fonts 14 ...
save as ... head.jpg

and so on...

please do not refer me to the imwrite function reference...clearly it was not usefull otherwise I would have not post this message.

thank you
From: Oliver Woodford on
"Davide " wrote:
> Hi All,
> is there a way of writing in a code all the necessary steps to export a pictures into a file?
> I mean all the steps that you normally do from the FIGURE menus,
> such as
>
> File-> export setup->Size (Apply to figure)
> Rendering (Colorspace CMYK color)
> Fonts 14 ...
> save as ... head.jpg
>
> and so on...
>
> please do not refer me to the imwrite function reference...clearly it was not usefull otherwise I would have not post this message.
>
> thank you

Try export_fig:
http://www.mathworks.com/matlabcentral/fileexchange/23629-exportfig

You'll need to write a seperate script to do things like set font and figure size first, but this function will then simplify exporting to bitmap, allowing you to set things like color space, resolution, quality factor, anti-aliasing, renderer, cropping.

HTH,
Oliver
From: Oliver Woodford on
"Oliver Woodford" wrote
> You'll need to write a seperate script to do things like set font and figure size first.

Alternatively you can look to the FEX again. Fixfig looks useful:
http://www.mathworks.com/matlabcentral/fileexchange/24095-fixfig
 | 
Pages: 1
Prev: Mapping Troubles with Geotiff
Next: openGL bug