#Layout to see an IR Spectrum
#You have to set the range after a first preview


#GENERAL SETTINGS (DO NOT MOVE)
 set termopt enhanced                   # Allow to use ^super/_{sub} 
# set   autoscale                       # scale axes automatically
 unset log                              # remove any log-scaling
 unset label                            # remove any previous labels
 set xtic auto                          # set xtics automatically
 set ytic auto                          # set ytics automatically
 set palette gray
 set encoding iso_8859_1                # Latin accents
 set grid


#Controlar la caja de leyendas
# set key outside box                    #Coloca la caja fuera de la graph
  #Para poner las leyendas en dif posiciones gnuplot utiliza
# top/bottom/center  left/right/center box/nobox
 set key center right box


#CONTROL THE PLOT TITLES
 set title "Dimethy Sulfoxide IR comparison" font "Times-Roman, 14"
 set xlabel "Frequency cm^{-1}" font "Times-Roman,14"
 set ylabel "IR Intensity" font "Times-Roman,14"


#SET THE RANGE VIEW OF THE PLOT
 set xrange [300:3130]
 set yrange [740:1000]

set style fill transparent solid 0.5 noborder
plot  "dmso_ir.dat" using 1:2 title 'gas phase' with filledcurve x2, \
      "dmso_solvent_ir.dat" using 1:2 title 'solvent' with filledcurve x2 lc rgb "blue"; 
