#------------------------------------------------------------
#
#      Sample code
#                ----------- 3d curves
#
#------------------------------------------------------------
# to get a 3d effect, it is recommanded to set the depthcue 
# mode by pushing the d key once.

curve1 = cur{
            [sin(x),cos(x),0.01*x]
            [x=-30:30][samp=2000]
          };
#------------------------------------------------------------
plot curve1;
#------------------------------------------------------------
