Curve Command

Curve can be used to add a new curve to an existing graph created with Plot or to change the way it is displayed.

Curve 
        [/xl <xlimit_low> <xlimit_high>] [/yl <ylimit_low> <ylimit_high>] [/xdelta <xdelta>] [/ydelta <ydelta>]
        [/ylabel <ylabel>] [/xlabel <xlabel>] [/yunit <yunit>] [/xunit <xunit>] [/title] [/xauto] [/yauto]
        [/xlog] [/ylog] [/loglog] [/dig] [/select] [/newaxis] [/newgrid] [/axisid <id>] [/autoaxis] [/coll] [/name]
        [/bus <bus-spec>] [/icb <objid>] [/new] [/newsheet] [/autoxlog] [/autoylog] [/histo]\n
        <y-expression> [<x-expression>]

Parameters

/autoaxis

/autoXlog

/autoYlog

/axisid

If specified, the new curve will be added to a y-axis with the id specified. Axis id is returned by the functions GetAllYAxes , GetCurveAxis and GetSelectedYAxis .

/bus

If specified, the new curve will be plotted on a digital axis and will be plotted as a bus curve. type may be 'hex', 'dec' or 'bin' specifying hexadecimal, decimal or binary display respectively.

/cv

/dig

If specified, new curve will be plotted on new digital axis. Digital axes are stacked on top of main axes and are sized and labelled appropriately for digital waveforms.

/gridid

If specified, the curve will be plotted on the specified grid.

/histo

Plot histogram

/icb

Specifies the internal clipboard as the source of the curve data. clipboard-index is a value of 0 or more that indicates which curve in the internal clipboard is to be used. The function HaveInternalClipboardData may be used to determine the number of curves available. The maximum acceptable value for clipboard-index is thus one less than the value returned by HaveInternalClipboardData .

/loglog

Only effective when graph sheet is empty. Forces both y and x axes to be logarithmic

/name

If specified, curve will be named curve-name.

/new

/newAxis

If specified, the new curve will be plotted on a new y-axis.

/newGrid

If specified, the new curve will be plotted on a new grid.

/newGridDetached

/scatter

Plot scatter plot

/select

If specified, the new curve will be selected.

/title

Plot and NewPlot commands only: sets graph window title when new sheet created

/xauto

Flag. Use automatic limits for x-axis. If this appears after a /xl specification /xauto will override it and vice-versa.

/xAxisid

If specified, the new curve will be added to a x-axis with the id specified.

/xdelta

Specify spacing between major grid lines on x-axis. Followed by x-grid-spacing , a real value. For default spacing use 0.

/xl

Use fixed limit for x-axis. Followed by x-low-limit and x-high-limit , which are real valued lower and upper limit of the x-axis.

/xlabel

Specify a label for the x-axis. If the label name argument contains any spaces, the whole string must be enclosed in double quotes.

/xlog

Only effective when graph sheet is empty. Forces logarithmic xaxis.

/xunit

Specify units for the x-axis (Volts, Watts etc.), followed by the unit name as a string. If the string contains spaces, the whole string must be enclosed in quotes (""). You should not include an engineering prefix (m, K etc.).

/yauto

Flag. Use automatic limits for y-axis. If this appears after a /yl specification /yauto will override it and vice-versa.

/ydelta

Specify spacing between major grid lines on y-axis. Followed by y-grid-spacing , a real value. For default spacing use 0.

/yl

Use fixed limit for y-axis. Followed by y-low-limit and y-high-limit , which are real valued lower and upper limit of the y-axis.

/ylabel

Specify a label for the y-axis. If the label name argument contains any spaces, the whole string must be enclosed in double quotes.

/ylog

Only effective when graph sheet is empty. Forces logarithmic yaxis.

/yunit

Specify units for the y-axis (Volts, Watts etc.), followed by the unit name as a string. If the string contains spaces, the whole string must be enclosed in quotes (""). You should not include an engineering prefix (m, K etc.).

Notes

/autoxlog and /autoxylog log test The x-values are deemed to be logarithmically spaced if three values satisfy the following: \[ 1.0000001 > \frac{x_1^2}{x_0*x_2} > 0.9999999 \] Where: \[ x_0 = x[0] \] i.e the first point in the data. If there are an even number of points: \[ x_1 = x[\frac{n}{2}-1] \] \[ x_2 = x[n-2] \] where ???MATH???n???MATH??? is the number of points in the data. If there are an odd number of points: \[ x_1 = x[\frac{n-1}{2}] \] \[ x_2 = x[n-1] \] where ???MATH???n???MATH??? is the number of points in the data. If there are fewer than three points or any of the values is less than or equal to zero, a linear axis will be selected.