curvelabel

Returns the label of a curve being exported.

Syntax

curvelabel(num)

Argument

num
The index of the curve.

Example

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

Comments

curvelabel() is used for plotting export templates.