Skip to main content

pnt2x

pnt2x (waveName, pointNum)​

The pnt2x function returns the X value of the named wave at the point pointNum. The point number is truncated to an integer before use.

For higher dimensions, use IndexToScale.

Details​

The result is derived from the wave's X scaling, not any X axis of a graph it may be displayed in.

If you would like to convert a fractional point number to an X value you can use:

leftx(waveName) + deltax(waveName) * pointNum

See Also​

DimDelta, DimOffset, x2pnt, IndexToScale

For an explanation of waves and X scaling, see The Waveform Model of Data.