### gnuplot commands to generate plots of stack photometry

#set border linewidth 2.5
set term postscript color eps linewidth 2.5 font "Times-Roman,30"
#set term png linewidth 3 crop

### stamps_mean
set output "stamps_mean.eps"
set xrange [0:1]
set yrange [0.7:20000]
set logscale y
set xlabel 'Normalised mean deviation'
set ylabel 'Number of skycells'
plot 'stamps_mean.hist' notitle with histep lc -1 lt -1

### stamps_rms
set output "stamps_rms.eps"
set xrange [0:1]
set yrange [0.7:20000]
set logscale y
set xlabel 'Normalised RMS deviation'
set ylabel 'Number of skycells'
plot 'stamps_rms.hist' notitle with histep lc -1 lt -1

### kernel_x
set output "kernel_x.eps"
set xrange [-1:1]
set yrange [0.7:20000]
set logscale y
set xlabel 'Kernel x moment'
set ylabel 'Number of skycells'
plot 'kernel_x.hist' notitle with histep lc -1 lt -1

### kernel_xx
set output "kernel_xx.eps"
set xrange [-1:7]
set yrange [0.7:20000]
set logscale y
set xlabel 'Kernel xx moment'
set ylabel 'Number of skycells'
plot 'kernel_xx.hist' notitle with histep lc -1 lt -1

### kernel_xy
set output "kernel_xy.eps"
set xrange [-3:3]
set yrange [0.7:20000]
set logscale y
set xlabel 'Kernel xy moment'
set ylabel 'Number of skycells'
plot 'kernel_xy.hist' notitle with histep lc -1 lt -1

### deconv_max
set output "deconv_max.eps"
set xrange [0.99:1.09]
set yrange [0.7:20000]
set logscale y
set xlabel 'Maximum deconvolution fraction'
set ylabel 'Number of skycells'
plot 'deconv_max.hist' notitle with histep lc -1 lt -1
