Sets the vertical (Y) units of a series.
Optional. Any series, table, or expression evaluating to a series or table. Defaults to the current Window.
A string, the Y units.
sets the vertical (Y) units of the series in the current Window to Volts.
myser = gnorm(1000, 1);
sets the vertical (Y) units of the series myser to Volts.
W1: gnorm(100, 1);setvunits("V")
The units of W2 become V/s or Volts per seconds.
W3: gnorm(100, 1);setvunits("Kellicam")
The units of W4 become Kellicam/s or Kellicams per seconds.
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.