curves.2

geometric curve generating user function

SYNOPSIS

fn curves.2 [ range ][,which [par1 par2...]]

DESCRIPTION

The function curves.2 generates a number of geometric curves. When invoked without arguments, the user is prompted to enter range values for the curve's start, finish and number of intervals, and then to select a curve from a list of the types available.

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 curve which and, optionally, new parameters on the command line from C-PLOT. You must precede the index number and parameters with a comma to separate them from the position held by the range values for the parametric variable (see fn ). If you don't enter new parameters, the previous ones will be used.

EXAMPLE

fn curves.2 -360 360 120 , 6 1 -90

SEE ALSO

fn