Short dash line length in gnuplot

I have a horizontal line in a chart with the following set of terminals in gnuplot:

    set terminal postscript eps size 8.5cm, 7cm enhanced color font 'Helvetica,10'
    set style line 5 lt 2 lc rgb "black" lw 3
    f(x)=5.0
    plot f(x) w l ls 5

The line width is OK, but the dash is too short. How can I increase it without changing the terminal mode to a dashed line?

+4
source share
2 answers

For the post-script terminal, the default mode is narrower dashed, which you see when entering a line set terminalin the gnuplot interactive terminal:

gnuplot> set terminal postscript eps size 8.5cm, 7cm enhanced color font 'Helvetica,10'
Terminal type set to 'postscript'
Options are 'eps enhanced defaultplex \
   leveldefault color colortext \
   dashed dashlength 1.0 linewidth 1.0 butt noclip \
   nobackground \
   palfuncparam 2000,0.003 \
   size 8.50cm, 7.00cm "Helvetica" 10  fontscale 1.0 '

Otherwise, in mode, the solidonly hatched line type is lt -1.

, dashlength. 4.6 dashlength - dashlength, .

set termoption dashlength 1.5

, .

5.0 , . , 5 .

+5

, (gnuplot 4.2):

set terminal postscript eps enhanced color dl 2.0 font 'TimesRoman' 24

, dl 2.0 dl 3.0, .

+2

All Articles