set terminal pdf
set output 'figure2.pdf'
set xlabel '$x$'
set ylabel '$y$'
plot \
	'data2' with lines linetype 2 color blue \
	, 'data2' index 0 using 1:3 with lines linetype 6 color green \
	, 'data2' index 1 with lines linetype 9 color brown
