Editing Gnuplot tips
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
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 "linestyle" specified. | |||
To enable support for the various linestyles, add the lines below to your {{Codeline|~/.Xdefaults}}. | |||
<code> | |||
! gnuplot settings | |||
gnuplot*dashed: on | |||
gnuplot*borderDashes: 0 | |||
gnuplot*axisDashes: 16 | |||
gnuplot*line1Dashes: 0 | |||
gnuplot*line2Dashes: 42 | |||
gnuplot*line3Dashes: 13 | |||
gnuplot*line4Dashes: 44 | |||
gnuplot*line5Dashes: 15 | |||
gnuplot*line6Dashes: 4441 | |||
gnuplot*line7Dashes: 42 | |||
gnuplot*line8Dashes: 13 | |||
</code> | |||
To enable these settings, type the following command at the shell prompt. | To enable these settings, type the following command at the shell prompt. | ||
<code> | |||
xrdb -merge .Xdefaults | |||
</code> | |||
To avoid having to type this command repeatedly, the command may be placed in your shell script resource file, {{Codeline|~/.profile}} for example. |