reset

## Filename setup
#set terminal epslatex color 10
#set output 'drag_plate.tex'

set terminal postscript eps enhanced
set output 'drag_plate.eps'

set size 0.65,0.65
set pointsize 2
## Format the axes
#set log x
#set log y

set key left top

## Set labels - use X & Y and psfrag
#set xl '$t^*$'
#set yl '$C_D$'

set yl 'C_d'
set xl 't*'

## Set plotting range. tran is for parametric plots (used for vertical lines)
set xran [ 0 : 0.25 ]
set yran [ 0 : 14.0 ]

## Set tics
#set xtics 0.2 
#set ytics 0.5
set format x "%3.2f"
set format y "%3.0f"

print "Writing plot to: drag_plate.eps" 

## Plot command
plot \
  'Walther1994_flatplate50.txt' u 1:(2*$3) with line linetype 1 lc rgb 'black' lw 1 notitle,\
  'Walther1994_flatplate100.txt' u 1:(2*$3) with line linetype 1 lc rgb 'black' lw 1 notitle,\
  'Walther1994_flatplate200.txt' u 1:(2*$3) with line linetype 1 lc rgb 'black' lw 1 title 'Walther 1994',\
  '../diagnostics.dat' u 1:3 with line linetype 1 lc rgb 'red' lw 2 title 'vortex moment',\
  '../diagnostics.dat' u 1:5 with line linetype 1 lc rgb 'blue' lw 2 title 'penal. force'



