If you have another solution that works and is more convenient let me know, otherwise I suppose I can't do much about it. To get the x11 terminal find the fonts, this works for me:Įxport GDFONTPATH=/usr/share/fonts/TTF (of course you can source the variable any way you want)Īfter that calling wxmaxima and plotting for example "wxplot2d(sin(x), ) " gives me correct output. Here, 90 is the relevant entry after size as it describes. The easiest way to find out which font name is generated for use with gnuplot, start gnuplot in interactive mode and type in 'set terminal postscript fontfile '.Theads 'heads size 0.5,90 front ls 201' set arrow from -24,-2 to -24, 2 Theads set arrow from -22, 2 to -21.44,1.92 Theads set arrow from 1.5,-pi to 1.5,pi Theads set arrow from -22,2.5pi to 0,2.5pi Theads. The gnuplot x11 terminal looks for ttf fonts in the path defined by the GDFONTPATH variable, which is by default undefined.Ĭalling gnuplot itself from the commandline defaults to the wxt terminal on my machine which uses pango/cairo to find fonts (and does so coorectly). To set a Sigma of size 24, from the Symbol font set, at the center of the graph, use: set label 'S' at graph 0.5,0. This kind of arrays can be achieved in gnuplot with the following code. Altertively, if you install Libre Office, DevaVu Sans and its family fons are installed. Double click font files, you can install fonts. Double click the zip file and open the folder anf go to 'ttf' folder. As far as I'm aware changing locations in the source (src/variable.c) does not fix this.įrom my understanding when calling from either of these apps, the x11 terminal is used by default. From Download on the site, you can download a font archive file. Genshi Text, Gettext Catalog, Gherkin, GLSL, Gnuplot, Go, GoodData-CL. It relies on external font handling, the details of which unfortunately vary from one terminal type to another. I looked into this but I can't find any indication that gnuplot is looking into /usr/X11R6/. stylemargin: 0 line-height: 125>
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |