RemoveContour
RemoveContour [/ALL /W=winName /Z] contourInstanceName [, contourInstanceName ]...
The RemoveContour operation removes the traces, and releases memory associated with the contour of contourInstanceName in the target or named graph.
Parameters
contourInstanceName is usually simply the name of a wave. More precisely, contourInstanceName is a wave name, optionally followed by the # character and an instance number to identify which contour plot of a given wave is to be removed.
Flags
| /ALL | Removes all contour plots from the graph. Any contour name parameters listed are ignored. /ALL was added in Igor Pro 9.00. | |
| /W=winName | Removes contours from the named graph window or subwindow. When omitted, action will affect the active window or subwindow. This must be the first flag specified when used in a Proc or Macro or on the command line. | |
| When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy. | ||
| /Z | Suppresses error if specified contour is not on the graph. /Z was added in Igor 10. | |
Details
If the axes used by the given contour plot are not in use after removing it, they will also be removed.
A contour instance name in a string can be used with the $ operator for contourInstance.
Examples
Display;AppendMatrixContour zw // new graph, contour of zw matrix
AppendMatrixContour zw // two contours of zw
RemoveContour zw#1 // remove the second contour