1 #!/usr/bin/gnuplot -persist
 
   5 #       Version 4.6 patchlevel 6    last modified September 2014
 
   6 #       Build System: Linux x86_64
 
   8 #       Copyright (C) 1986-1993, 1998, 2004, 2007-2014
 
   9 #       Thomas Williams, Colin Kelley and many others
 
  11 #       gnuplot home:     http://www.gnuplot.info
 
  12 #       faq, bugs, etc:   type "help FAQ"
 
  13 #       immediate help:   type "help"  (plot window: hit 'h')
 
  15 set title "Basic data plot doesn't highlight the seasonal behaviour"
 
  19 set key noreverse enhanced autotitles box linetype -1 linewidth 1.000
 
  20 set key vert out bottom center
 
  21 set key width 2 height 1
 
  25 set timefmt "%Y-%m-%d"
 
  27 set xtics out nomirror rotate by -45
 
  29 set ylabel "y" norotate
 
  30 set ytics out nomirror 1
 
  32 # When data is time, intervals are in seconds.
 
  33 one_year = 60 * 60 * 24 * 365.25
 
  34 three_months = one_year / 4
 
  36 set xtics three_months
 
  39 #set terminal png notransparent nocrop truecolor rounded enhanced font "arial,8" fontscale 1.0
 
  40 #set output 'base.png'
 
  43   'data.dat' using 1:2 w l lc rgb "black" title "data"