reset set term wxt set autoscale set xlabel font "Times-Roman,12" set ylabel font "Times-Roman,12" set tics font "Times-Roman,12" set xlabel "Wave number [cm^{-1}]" set ylabel "Intensity" set xrange [2540:0] set yrange [-20:140] set key box reverse left top samplen 0.5 spacing 1 set key font "Times-Roman,12" set border 2+8 set arrow 1 from 0,140 to 1700,140 nohead front set arrow 2 from 0,-20 to 1700,-20 nohead front set arrow 3 from 1740,-20 to 2540,-20 nohead front set arrow 4 from 1740,140 to 2540,140 nohead front set arrow 5 from 1697,-18.7, graph 0 length 20.0 angle 75 nohead lw 2 front set arrow 6 from 1737,-18.7, graph 0 length 20.0 angle 75 nohead lw 2 front set arrow 7 from 1697,141.5, graph 0 length 20.0 angle 75 nohead lw 2 front set arrow 8 from 1737,141.5, graph 0 length 20.0 angle 75 nohead lw 2 front set arrow 9 from 1830, 111 to 1986,90 set label 1 "2948 cm^{-1}" at 1817,113 rotate by 25 font "Times-Roman-bold,12" tc "black" set xtics ("3500" 2540, "3000" 2040, "1500" 1500, "1000" 1000,"500" 500, "0" 0) set mxtics 2 plot "RDX_Raman.csv" u ($1<1700 ? $1 : 1/0):2 w l ti "RDX Raman " lc "blue" lw 1.0, \ "" u ($1>2700&&$1<3500 ? $1-960 : 1/0):($2<60 ? $2 : 1/0) w l ti "" lc "blue" lw 1.0, \ "" u ($1>2700&&$1<3500 ? $1-960 : 1/0):($2>55 ? $2 : 1/0) w l ti "" lc "dark-red" lw 1.0, \