<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello Claus,<br>
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.<br>
May you post a wish on bugzilla about that.<br>
Regards<br>
Samuel<br>
<br>
Le 05/10/2014 19:07, Claus Futtrup a écrit :<br>
</div>
<blockquote cite="mid:54317AEB.1080404@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi there<br>
<br>
I've made a small script (see below), which saves some generated
plots to either jpg, pdf, png or svg.<br>
<br>
My question is whether there's a smarter way to do this with what
Scilab offers today?<br>
<br>
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?<br>
<br>
Best regards,<br>
Claus<br>
</blockquote>
<br>
</body>
</html>