SETVUNITS

Purpose:

Sets the vertical (Y) units of a series.

Syntax:

SETVUNITS(series, "yunits")

series

-

Optional. Any series, table, or expression evaluating to a series or table. Defaults to the current Window.

"yunits"

-

A string, the Y units.

Example:

setvunits("Volts")

 

sets the vertical (Y) units of the series in the current Window to Volts.

Example:

myser = gnorm(1000, 1);

setvunits(myser, "Volts");

 

sets the vertical (Y) units of the series myser to Volts.

Example:

W1: gnorm(100, 1);setvunits("V")

W2: deriv(w1)

 

The units of W2 become V/s or Volts per seconds.

Example:

W3: gnorm(100, 1);setvunits("Kellicam")

W4: deriv(w3)

 

The units of W4 become Kellicam/s or Kellicams per seconds.

Remarks:

See UNITS for a list of supported units.

 

Compound vertical units are reduced in terms of known supported units. If the unit string is not internally defined (such as Grams), the string is still assigned to the vertical unit string, but further unit reduction is not performed, however unit expansion (e.g. Grams^2) will still occur.

 

See DEFUNITS to define a unit with a specific expansion.

See Also:

DEFUNITS

GETHUNITS

GETVUNITS

GETZUNITS

SETHUNITS

SETXLABEL

SETYLABEL

SETZLABEL

UNITS