#!/usr/local/bin/gnuplot -persist # set terminal pngcairo background "#ffffff" enhanced fontscale 1.0 size 640, 480 dashlength 2 # set output 'lines_arrows.2.png' set style line 1 linecolor rgb "red" linewidth 3.000 dashtype 2 pointtype 2 pointsize default set style line 2 linecolor rgb "orange" linewidth 2.000 dashtype 2 pointtype 2 pointsize default set style line 3 linecolor rgb "yellow" linewidth 3.000 dashtype 2 pointtype 2 pointsize default set style line 4 linecolor rgb "green" linewidth 2.000 dashtype 2 pointtype 2 pointsize default set offsets 0.05, 0.05, 0, 0 unset parametric set style function linespoints unset xtics unset ytics set title "The pointinterval property is another way to create interrupted lines" set xlabel "This technique works best for equally spaced data points" set xrange [ -0.500000 : 3.30000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ -1.00000 : 1.40000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set bmargin 6 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault unset colorbox NO_ANIMATION = 1 plot cos(x) lt -1 pi -4 pt 6 title 'pi -4', cos(x-.8) lt -1 pi -3 pt 7 ps 0.2 title 'pi -3 pt 7 ps 0.2', cos(x-.2) lt -1 pi -6 pt 7 title 'pi -6', cos(x-.4) lt -1 pi -3 pt 4 title 'pi -3', cos(x-.6) lt -1 pi -5 pt 5 title 'pi -5', cos(x-1.) with line lt -1 notitle, cos(x+.2) with line lt -1 lw 2 title 'lw 2'