
Chapter II-12 — Graphs
II-242
// Create third instance of wave0. Trace name is thirdInstance.
AppendToGraph wave0/TN=thirdInstance
This creates a graph with three traces named wave0, wave0#1 and thirdInstance. The trace name wave0 is
equivalent to wave0#0.
The addition of a # sign and a number to distinguish traces from the same wave is called "instance nota-
tion". For more information on instance notation, see Instance Notation.
For information on programming with trace names, see Programming With Trace Names on page IV-72.
Removing Traces
You can remove traces from a graph by choosing Remove from Graph from the Graph menu. Don’t over-
look the pop-up above the list that selects among traces, image plots and contour plots; set it to “Traces”.
Note that a contour plot has traces that you can remove, but they will come back when the contour plot is
updated. Rather than removing the contour traces, use the pop-up to select Contours, and remove the
contour plot itself, which automatically removes all of the contour-related traces. See Removing Contour
Traces from a Graph on page II-336.
If you remove the last wave associated with a given axis then that axis will also be removed. If you remove
all the waves you will be left with a blank graph with no traces or axes.
Replacing Traces
You can “replace” a trace in the sense of changing the wave that the trace is displaying in a graph. All the
other characteristics of the trace — such as mode, line size, color, and style — are unchanged. You can use
this to update a graph with data from a wave other than the one originally used to create the trace.
To replace a trace, use the Replace Wave item in the Graph menu to display the Replace Wave in Graph dialog:
A special mode allows you to browse through groups of data sets composed of identically-named waves
residing in different data folders (for a discussion of data folders, see Chapter II-8, Data Folders). For
instance, you might take the same type of data during multiple runs on different experimental subjects. If
you store the data for each run in a separate data folder, and you give the same names to the waves that
result from each run, you can select the Replace All in Data Folder checkbox and then select one of the data
Select to replace trace’s
Y or X wave with wave
from pop-up menu.
May include contours
and images.
Komentáře k této Příručce