C-PLOT

Scientific Graphics and Data Analysis

C.5. - curves.2



Curves.2 is a user function that generates a number of geometric curves.
fn curves.2
or
fn curves.2 [range], # [parameters ...]
When invoked without arguments, you are presented with a list of names of curves. Select one of the curves and then select values for its parameters.

Since this is a type 2 function, both x and y are functions of a parametric variable. Most of the curves in curves.2 are expressed in polar form, with the radius r given as a function of polar angle z, and it is z (in degrees) that is treated as the parametric variable. A range from 0 to 360 is appropriate for most of the sample curves. (For the spirals, of course, you may want to go around many more times.)

You can give the index number of the curve # and, optionally, new parameters, on the command line from C-PLOT. You must precede these parameters with a comma to separate them from the position held by the range for the parametric variable (see fn). If you only enter a new index number, the previous parameters will be used.