Associates an axis with a data column in the object. Controls linear/logarithmic display formatting and allows labeling of the axis.
The number of axes to be displayed was determined when the object was created via CGEN.New(). The PlotView parameter in CGEN.New() determines whether we have an y-versus-x or a y-and y'-versus-x plot.
You must call Cgen.SetAxis for each of the axes in the real-time plot. For a y-and y'-versus-xplot you need three calls to Cgen.SetAxis().
Use the constants below to define which axis is being configured.
Y_AXISy-xis (y-vs-x plot) or Lower Y (y,y'-vs-x)
Z_AXIS upper y-axis (y,y'-vs-x only)
The column number containing the data to be plotted, or use the predefined constants defined in CGEN.DataCol().
LIN_AXIS The axis is linear
LOG_AXIS The axis is logarithmic
Minimum value used in prevention of "ugly" plot-scaling. MinVal is used differently depending on Scale setting.
On a linear axis, this is the minimum resolution of the plot. The range of values shown on the axis cannot be smaller than MinVal. This prevents excessively fine scaling when plotting data where all the values are identical or very similar.
On a logarithmic axis, this value is substituted for 0's in the data. This prevents infinite logarithm values.
|Label||STRING||The label used for the axis. Short names (one- or two-character labels are preferred), please.|
|Units||STRING||The units used for the axis. Short names (one- or two-character labels are preferred), please.|