TraceNameToWaveRef
TraceNameToWaveRef (graphNameStr, traceNameStr)
The TraceNameToWaveRef function returns a wave reference to the Y wave corresponding to the given trace in the graph window or subwindow named by graphNameStr.
Parameters
graphNameStr can be "" to refer to the top graph window.
When identifying a subwindow with graphNameStr, see Subwindow Syntax for details on forming the window hierarchy.
The trace is identified by the string in traceNameStr, which could be a string determined using TraceNameList. Note that the same trace name can refer to different waves in different graphs.
Use Instance Notation to choose from traces in a graph that represent waves of the same name. For example, if traceNameStr is "myWave#2", it refers to the third instance of a wave named "myWave" in the graph ("myWave#0" or just "myWave" is the first instance).
See Also
Trace Names, Programming With Trace Names
For other commands related to waves and traces: WaveRefIndexed, XWaveRefFromTrace, TraceNameList, CsrWaveRef, CsrXWaveRef.
For a description of wave references: Wave Reference Functions.
For a description of Traces: ModifyGraph.
For a discussion of Contour Traces: Contour Traces.
For commands referencing other waves in a graph: ImageNameList, ImageNameToWaveRef, ContourNameList, ContourNameToWaveRef.