Gnuplot tips: Difference between revisions

Jump to navigation Jump to search
643 bytes added ,  10 October 2020
(Some formatting.)
 
(One intermediate revision by the same user not shown)
Line 23: Line 23:
To avoid having to type this command repeatedly, the command may be placed in your shell script resource file {{Path|~/.profile}} for example.
To avoid having to type this command repeatedly, the command may be placed in your shell script resource file {{Path|~/.profile}} for example.


[[Category:Tutorials]]
 
== Enable UTF-8 text support for Gnuplot's x11 terminal ==
 
By default, Gnuplot's X11 terminal does not support UTF-8 characters when displaying text labels or setting plot titles.
To enable support for UTF-8, add the lines below to your {{Path|~/.Xdefaults}}.
 
  ! gnuplot settings
  gnuplot*font: mbfont:-misc-fixed-medium-r-normal-*-*-*-100-100-*-*-iso10646-*
  gnuplot*encoding: utf-8
 
To enable these settings, type the following command at the shell prompt.
 
  xrdb -merge .Xdefaults
 
To avoid having to type this command repeatedly, the command may be placed in your shell script resource file, {{Path|~/.profile}} for example.
 
[[Category:Tips and tricks]]

Navigation menu