Re: apply export style to figure via m file
- From: "Tom? " <tmezger_NOSPAM@xxxxxx>
- Date: Thu, 20 Sep 2007 13:25:39 +0000 (UTC)
"Adam " <not.my.email@xxxxxxxxxxxxx> wrote in message
<fctrk8$ppo$1@xxxxxxxxxxxxxxxxxx>...
"Tom? " <tmezger_NOSPAM@xxxxxx> wrote in messagethread.
<fctpfe$min$1@xxxxxxxxxxxxxxxxxx>...
Hi people,
i'm trying to automate the export of figures via m-files.
now i'm trying to apply a style that i have already saved,
let's say it's called "my_style".
what i expect is to make some call like this:
apply_style_function(figureNr,'my_style')
then i can export the figure to png via
print -dpng
how can i make it? does the function "apply_style_function"
already exist?
thank you very much!!!!
tom
I've always written a function that sets all the desired
properties using set() like we were doing in the other
I just noticed something. If you click "file" in your
formatted figure there is a "Generate M-File..." option.
You can then call this function with your data and generate
a formatted output.
gl, I understand your frustration with office products ;-)
~Adam
if you have a figure, you can click on file, export setup.
there you can choose and define styles. Here, you can set
the width of the graphic, the resolution, and the font
sizes. My idea was to use this nice gui to create a style,
which i can use to format all the plots i need to. I whant
to write a script, where you plot, set a style and print as
png.
I understand that it is posible to set all this optios via
set() and print, but using the "generate M-File" function
only gives me an idea how THIS specific plot has been
formated. at the time i plot another thing, i'll need to
change some parts of the code from this generated M-File.
really, i think this has to be posible. i think the export
gui just calls this function at background and format the
picture like the style says.
thank you in advice!
tom
.
- Follow-Ups:
- Re: apply export style to figure via m file
- From: Tom?
- Re: apply export style to figure via m file
- References:
- apply export style to figure via m file
- From: Tom?
- Re: apply export style to figure via m file
- From: Adam
- apply export style to figure via m file
- Prev by Date: Re: Multiple functions with same signature
- Next by Date: Re: export figure via commandline and setting a saved style
- Previous by thread: Re: apply export style to figure via m file
- Next by thread: Re: apply export style to figure via m file
- Index(es):
Relevant Pages
|