set autoscale
set terminal svg
set output "coc.svg"
set xlabel "Subject distance (mm)"
set ylabel "Blur circle diameter at f/2.8 (mm)"
set yrange [0:0.6]
set xrange[1000:7000]
set grid
set xtics 500

plot "coc-1m.dat" title "1 m" with lines, \
  "coc-1.5m.dat" title "1.5 m" with lines, \
  "coc-3m.dat" title "3 m" with lines, \
  "coc-inf.dat" title "∞" with lines

set output "coc-3m-inf.svg"
set xrange [5600:6400]
set yrange [0.07:0.11]
set xtics 100
plot "coc-3m.dat" title "3 m" with lines,\
  "coc-inf.dat" title "∞" with lines;


set output "coc-1.5m-3m.svg"
set xrange[1000:10000]
set xtics 100
set yrange [0.0:0.2]
set xrange [1500:2500]
plot "coc-1.5m.dat" title "1.5 m" with lines, \
  "coc-3m.dat" title "3 m" with lines

set output "coc-1m-1.5m.svg"
set xrange [1000:1500]
set yrange [0:0.2]
set xtics 100
plot "coc-1.5m.dat" title "1.5 m" with lines, \
  "coc-1m.dat" title "1 m" with lines 
  
