# Set up the 3D view and axis labels
set view 15, 50
set xlabel "X"
set ylabel "Y"
set zlabel "Z"
# Set the coordinate space boundaries
set xrange [0:6.28]
set yrange [0:1]
set zrange [-1.:1.]
# Turn on parametric mode
set parametric
set samples 1000
# Set range for u (X axis)
set urange [-6.28:6.28]
# FIXED: Locked Y to 0.5 and changed Z to sin(2*u)
splot u, 0.0, sin(u) lw 2 title "3D sin(2x) at Y=0.0"
replot u, 0.1, sin(2*u) lw 2 title "3D sin(2x) at Y=0.1"
replot u, 0.2, sin(3*u) lw 2 title "3D sin(2x) at Y=0.2"
replot u, 0.3, sin(4*u) lw 2 title "3D sin(2x) at Y=0.3"
replot u, 0.4, sin(5*u) lw 2 title "3D sin(2x) at Y=0.4"
replot u, 0.5, sin(6*u) lw 2 title "3D sin(2x) at Y=0.5"