[Scilab-users] ?==?utf-8?q? ?==?utf-8?q? ?= Plots for scientific paper

Antoine Monmayrant amonmayr at laas.fr
Wed Mar 8 12:05:52 CET 2017


As an added note, one nice feature of inkscape as a post-processing tool is that it can generate Latex text and formula.
It's pretty useful to fix some axis label, legend or add "(a)", "(b)" while keeping the font coherent.

Antoine

 
Le Mercredi, Mars 08, 2017 11:41 CET, Pierre Vuillemin <contact at pierre-vuillemin.fr> a écrit: 
 
> 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.
> 
> Hope it helps,
> 
> Pierre
> 
> Le 08.03.2017 10:08, Antoine Monmayrant a écrit :
> > It's definetly possible to do it.
> > In my group, we usually:
> > - set decent default values for the default figure ( hd=gdf() ):
> > increase font size, ...
> > - fix the ticks madness (ie replace [0. 0.167 0.333 0.5 0.667 0.833 1.
> > ] ticks by [0. 0.25 0.5 0.75 1.])
> > - use the latex rendering for all the text, including ticks labels:
> > - for ticks¹, just prepend & append "$" to the labels: ["0"; "0.25";
> > "0.5"; "0.75"; "1"]->["$0$"; "$0.25$"; "$0.5$"; "$0.75$"; "$1$"].
> > - for text, use "$\text{" and "}$" : "$\text{Your fancy text rendered
> > in Latex: \lambda^\beta}$"
> > - Export in a vectorial format, I prefer svg.
> > - Apply some cosmetic changes, add arrows, "(a)", "(b)", ... using 
> > Inkscape
> > - Generate a pdf version.
> > 
> > 
> > Hope it helps,
> > 
> > Antoine
> > ¹ We have a script to clean up the ticks: it sets a decent number of
> > ticks, and automate the prepend/append of "$".
> > 
> > 
> > Le Mardi, Mars 07, 2017 20:35 CET, Claus Futtrup <cfuttrup at gmail.com> a 
> > écrit:
> > 
> >> Hi
> >> 
> >> I'm using Python matplotlib for some graphs for scientific papers. The
> >> reason is that the font and all seems to fit very well with the LaTeX
> >> document.
> >> 
> >> I know that Scilab can accept MathML (or LaTeX) expressions. Is there 
> >> a
> >> simple way to configure Scilab for similar high-quality plots? ... I'd
> >> like all text to be nice looking, i.e. the title, the x-axis and 
> >> y-axis
> >> labels, the legend, etc.
> >> 
> >> Best regards,
> >> 
> >> Claus
> >> 
> >> _______________________________________________
> >> users mailing list
> >> users at lists.scilab.org
> >> http://lists.scilab.org/mailman/listinfo/users
> >> 
> > 
> > _______________________________________________
> > users mailing list
> > users at lists.scilab.org
> > http://lists.scilab.org/mailman/listinfo/users




More information about the users mailing list