Changes

Jump to navigation Jump to search
441 bytes added ,  18:17, 17 February 2015
→‎Preferences: set default fonts for axes
Line 8: Line 8:     
The value of {{Codeline|DefaultFigurePosition}} must be a four element vector with the x and y coordinates for the figure, followed by its with and height. The code above sets the default image to be placed at the top of the monitor, with the width of the monitor and the same height previously set as default.
 
The value of {{Codeline|DefaultFigurePosition}} must be a four element vector with the x and y coordinates for the figure, followed by its with and height. The code above sets the default image to be placed at the top of the monitor, with the width of the monitor and the same height previously set as default.
 +
 +
=== Changing default font for axes ===
 +
 +
To display tex characters such as '\alpha' or '\lambda', a TrueType font ("arial" for instance) is better for the gnuplot backend [https://savannah.gnu.org/bugs/?30681]
 +
{{Code|change default axes font name|<pre>set (0, "DefaultAxesFontName", "Arial")</pre>}}
 +
It can then be necessary to change the font size as well
 +
{{Code|change default axes font size|<pre>set(0, 'DefaultAxesFontSize', 10)</pre>}}
     
26

edits

Navigation menu