Changes

Jump to navigation Jump to search

Gnuplot tips

39 bytes added, 13 June
Fix markup. Move up to Category:Tutorials
When using the X11 server's default settings, Gnuplot's X11 terminal does not support different linestyles. Thus, all line plots have solid line types, independent of the <code>"linestyle" </code> specified.To enable support for the various linestyles, add the lines below to your {{CodelinePath|~/.Xdefaults}}.
<codesyntaxhighlight>
! gnuplot settings
gnuplot*dashed: on
gnuplot*line7Dashes: 42
gnuplot*line8Dashes: 13
</codesyntaxhighlight>
To enable these settings, type the following command at the shell prompt.
<codesyntaxhighlight>
xrdb -merge .Xdefaults
</codesyntaxhighlight>
To avoid having to type this command repeatedly, the command may be placed in your shell script resource file, {{CodelinePath|~/.profile}} for example.
[[Category:Plotting tutorialsTutorials]]

Navigation menu