When plot type is set to SLOPEFIELD, the DRAW command plots a slope representation of a scalar function with two variables. SLOPEFIELD requires values in the reserved variables EQ, VPAR, and PPAR.

VPAR has the following form:

{xleft xright ynear yfar zlow zhigh xmin xmax ymin ymax xeye yeye zeye xstep ystep }

For plot type SLOPEFIELD, the elements of VPAR are used as follows:

xleft and xright are real numbers that specify the width of the view space.

ynear and yfar are real numbers that specify the depth of the view space.

zlow and zhigh are real numbers that specify the height of the view space.

xmin and xmax are not used.

ymin and ymax are not used.

xeye, yeye, and zeye are real numbers that specify the point in space from which the graph is viewed.

xstep and ystep are real numbers that set the number of x-coordinates versus the number of y- coordinates plotted.

The plotting parameters are specified in the reserved variable PPAR, which has this form:

{(xmin, ymin) (xmax, ymax) indep res axes ptype depend }

For plot type SLOPEFIELD, the elements of PPAR are used as follows:

(xmin, ymin) is not used.

(xmax, ymax) is not used.

indep is a name specifying the independent variable. The default value of indep is X.

res is not used.

axes is not used.

ptype is a command name specifying the plot type. Executing the command SLOPEFIELD places the command name SLOPEFIELD in ptype.

depend is a name specifying the dependent variable. The default value is Y.

Access: …µSLOPEFIELD

Input/Output:

None

 

See also:

BAR, CONIC, DIFFEQ, FUNCTION, GRIDMAP, HISTOGRAM, PARAMETRIC,

 

PARSURFACE, PCONTOUR, POLAR, SCATTER, TRUTH, WIREFRAME, YSLICE

 

 

 

 

SNEG

Command

 

Type:

 

Description:

Store Negate Command: Replaces the contents of a variable with its negative.

 

The named object must be a number, an array, an algebraic object, a unit object, or a graphics

 

object. For information on negation, see NEG.

Access:

MEMORY ARITHMETIC LSNEG

( °is the left-shift of the Nkey).

Input/Output:

 

 

 

 

 

Level 1/Argument 1

Level 1/Item 1

 

 

 

 

 

 

'name'

 

 

 

 

See also:

NEG, SCONJ, SINV

 

 

 

 

 

SNRM

Command

 

Type:

 

Description:

Spectral Norm Command: Returns the spectral norm of an array.

 

The spectral norm of a vector is its Euclidean length, and is equal to the largest singular value of a

 

matrix.

 

Access:

OPERATIONS LLSNRM

( Ø is the left-shift of the 5key).

 

MATRIX NORMALIZE SNRM

( ´is the left-shift of the Pkey).

3-228 Full Command and Function Reference