set terminal epslatex size 3.4,1.3 color
set output "particles.tex"

unset border
unset xtics
unset ytics
unset ztics

set cbrange [0:0.007]

set format cb "\\footnotesize{%.3f}"

set view equal xy
set multiplot layout 1,1 scale 4.2,4.2 offset -0.08, -0.05

set view 0,0
#set key horizontal at screen 0.5, 0.2 width 10

unset key
#unset colorbox
set colorbox user origin screen 0.88, 0.10 front size 0.02,0.8


set label 1 "\\footnotesize{filtered}" at screen 0.17, 0.71
set label 2 "\\footnotesize{smoothed}" at screen 0.61, 0.71

splot\
	'filtered_104.dat' every ::2	using 1:2:3:4 with points palette pt 7 notitle,\
	'filtered_104.dat' every ::0::0	using 1:2:3 with points lc rgb "#000000" pt 7 ps 4 title 'avg',\
	'smoothed_104.dat' every ::2	using ($1+1700):2:3:4 with points palette pt 7 notitle,\
	'smoothed_104.dat' every ::0::0	using ($1+1700):2:3 with points lc rgb "#000000" pt 7 ps 4 notitle ,\
	
	#'filtered_104.dat' every ::1::1	using 1:2:3 with points lc rgb "#009900" pt 7 ps 3 title 'avg50',\
	#'smoothed_104.dat' every ::1::1	using ($1+1700):2:3 with points lc rgb "#009900" pt 7 ps 3 notitle ,\
