<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt'>
<p>Hi all,</p>
<ul>
<li>the last version no longer assumes that there is a legend,</li>
<li>I've added a doc (header) with an example that should clarify the options. I tend to use structure for options, i.e.</li>
</ul>
<p style="padding-left: 60px;">opt.line_thickness = 2</p>
<p style="padding-left: 60px;">prettify(h, opt)</p>
<ul>
<li>now, the z-axis should also be modified.</li>
</ul>
<p>Regards,</p>
<p>Pierre</p>
<p>nb: again, the last version is on <a href="https://github.com/pivui/scilabTools/blob/master/prettify/prettify.sci">my github</a>.</p>
<p>Le 09.03.2017 20:10, Jens Simon Strom a écrit :</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --> <!-- head ignored --><!-- meta ignored --> Hallo Pierre,<br /> prettyfy is great. It will save many people a lot of time and trouble. I do not often use a legend. Leaving it out produces an error and using an empty one looks ugly. So that's my suggestion.<br /> Kind regards<br /> Jens<br /> ----------------------------------------------------------------------------------------------------------------------------------<br />
<div class="moz-cite-prefix">Am 08.03.2017 18:28, schrieb Pierre Vuillemin:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<p>I may complete the script over time if you have some suggestions.</p>
<p>Until then, I don't see any difference when changing the value of the anti-aliasing option, does someone know if it is still functional?</p>
<p>Regards,</p>
<p>Pierre</p>
<br />
<div class="moz-cite-prefix">Le 08/03/2017 à 16:29, Claus Futtrup a écrit :</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="moz-cite-prefix">Hi Pierre and Antoine<br /> <br /> Thank you very much for your help. This is very inspiring and encouraging.<br /> <br /> Best regards,<br /> Claus<br /> <br /> On 08-03-2017 11:41, Pierre Vuillemin wrote:</div>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Following Antoine's idea, find enclosed an example on how you can automate the process of improving your plots. This is obviously incomplete but it gives a general idea. <br /> <br /> Hope it helps, <br /> <br /> Pierre <br /> <br /> Le 08.03.2017 10:08, Antoine Monmayrant a écrit : <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">It's definetly possible to do it. <br /> In my group, we usually: <br /> - set decent default values for the default figure ( hd=gdf() ): <br /> increase font size, ... <br /> - fix the ticks madness (ie replace [0. 0.167 0.333 0.5 0.667 0.833 1. <br /> ] ticks by [0. 0.25 0.5 0.75 1.]) <br /> - use the latex rendering for all the text, including ticks labels: <br /> - for ticks¹, just prepend & append "$" to the labels: ["0"; "0.25"; <br /> "0.5"; "0.75"; "1"]->["$0$"; "$0.25$"; "$0.5$"; "$0.75$"; "$1$"]. <br /> - for text, use "$\text{" and "}$" : "$\text{Your fancy text rendered <br /> in Latex: \lambda^\beta}$" <br /> - Export in a vectorial format, I prefer svg. <br /> - Apply some cosmetic changes, add arrows, "(a)", "(b)", ... using Inkscape <br /> - Generate a pdf version. <br /> <br /> <br /> Hope it helps, <br /> <br /> Antoine <br /> ¹ We have a script to clean up the ticks: it sets a decent number of <br /> ticks, and automate the prepend/append of "$". <br /> <br /> <br /> Le Mardi, Mars 07, 2017 20:35 CET, Claus Futtrup <a class="moz-txt-link-rfc2396E" href="mailto:cfuttrup@gmail.com"><cfuttrup@gmail.com></a> a écrit: <br /> <br />
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hi <br /> <br /> I'm using Python matplotlib for some graphs for scientific papers. The <br /> reason is that the font and all seems to fit very well with the LaTeX <br /> document. <br /> <br /> I know that Scilab can accept MathML (or LaTeX) expressions. Is there a <br /> simple way to configure Scilab for similar high-quality plots? ... I'd <br /> like all text to be nice looking, i.e. the title, the x-axis and y-axis <br /> labels, the legend, etc. <br /> <br /> Best regards, <br /> <br /> Claus <br /> <br /> _______________________________________________ <br /> users mailing list <br /> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a> <br /> <a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a> <br /> </blockquote>
<br /> _______________________________________________ <br /> users mailing list <br /> <a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a> <br /> <a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a> </blockquote>
<br /><fieldset class="mimeAttachmentHeader"></fieldset><br />
<pre>_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<p><br /></p>
<br /><fieldset class="mimeAttachmentHeader"></fieldset><br />
<pre>_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br /> <br /><fieldset class="mimeAttachmentHeader"></fieldset><br />
<pre>_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br /><!-- html ignored --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> users mailing list<br /> <a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br /> <a href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a></div>
</blockquote>
<p><br /></p>
</body></html>