Produced by IDL 7.1.1
Developer Documentation

./plotter
newxoffset.pro

Last modification date:
Wed Sep 28 13:27:13 2016

newxoffset

function newxoffset(type, scale, frame, veldef)

Returns what the new xoffset needs to be given the current contents of the mystate structure. This is called in the process of switching to a relative x-axis. It does it this way, rather than setting mystate.xoffset directly, so that the existing xoffset isn't lost. That value is needed first in the process of converting all of the internal values to the new x-axis. This is used internally and is not meant for general use.

Returns
The new xoffset, scaled appropriately.
Version
$Id$
Common blocks
gbtplot_common

Parameters
type
in, required
integer
The axis type (0 is channels, 1 is frequency and 2 is velocity).
scale
in, required
double
The unit scaling to use.
frame
in, required
string
The frame to calculate the offset in. Not used for channels.
veldef
in, required
string
The velocity definition to use. Only used for velocity-type x-axes.


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:21 2016