curvex

Returns the X vector of a curve being exported or a curve in the current plot.

Syntax

curvex(num)

Argument

num
The index of the curve from which to retrieve values.

Example

Templex Expression
{
    ncrvs = numcurves();
    for (i = 0; i < ncrvs; i++)
        xvect = curvex(i);
        npts = numpts(xvect);
        for (j = 0; j < npts; j++)
          xvect[j], %e; cr(); ‘ output X vector in exponential format
        endloop
     endloop
}

Comments

curvex is used in plotting export templates and plotting notes.