<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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:<br>
</div>
<blockquote
cite="mid:ab08ba3ba63d53784cb49d78047f41f8@pierre-vuillemin.fr"
type="cite">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">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">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>
<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>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>
</body>
</html>