[Scilab-users] Smarter way to save plot graphics?

Samuel Gougeon sgougeon at free.fr
Sun Oct 5 21:00:43 CEST 2014


Hello Claus,
I agree: the xs2### familly + exportUI could be factorized, accepting a 
vector of figures numbers or handles, an input arg specifying the output 
format (or "?" to call the interactive exportUI), a rule for naming 
output files (vector of filenames or basename + fig number appended or 
..), etc.
May you post a wish on bugzilla about that.
Regards
Samuel

Le 05/10/2014 19:07, Claus Futtrup a écrit :
> Hi there
>
> I've made a small script (see below), which saves some generated plots 
> to either jpg, pdf, png or svg.
>
> My question is whether there's a smarter way to do this with what 
> Scilab offers today?
>
> Ideally Scilab would support a function - lets call it "saveplt" - but 
> as you may notice in the below code, each type of graphics export 
> requires different parameters. If one could call saveplt and specify 
> output file format, I could reduce the amount (lines) of code a lot. 
> I'm just wondering if Scilab already today offers some smarter way to 
> do it already?
>
> Best regards,
> Claus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20141005/374cb9c6/attachment.htm>


More information about the users mailing list