data test.dat
xcolumn 1
ycolumn 2
ymin -2
ymax 3
xlabel Angle
ylabel |_|_ COS( Angle )
noyaxes
plot
showyaxis
ymin -1
ymax 1
ycolumn 3
dash 0.1
ylabel |_|_ SIN( Angle )
plot
showsecondyaxis
title Double Y
This creates a graph like this: