Skip to main content

AddWavesToViolinPlot

AddWavesToViolinPlot [/W=winName /T=traceName /INST=traceInstance] wave [, wave ] ...

Adds additional 1D waves to a pre-existing violin plot trace created by AppendViolinPlot.

AddWavesToViolinPlot was added in Igor Pro 8.00.

Because a violin plot trace may require a number of waves to define each dataset in the trace, and because wave names may be quite long, the AddWavesToViolinPlot operation is provided to add waves to a list begun by AppendViolinPlot.

Flags

/T=traceName
/INST=traceInstance
These flags specify the name and instance number of an existing violin plot trace to which waves will be added. You can use /T without /INST, in which case a trace with instance number zero will be used. Do not use /INST without /T.
See Creating Graphs for information about trace names and trace instance numbers.
In the absence of both /T and /INST, the default is to use the top violin plot trace found on the graph. That would be the most recently added violin plot trace.
/W=winNameAppends to the named graph window or subwindow. When omitted, AddWavesToViolinPlot operates on the active window or subwindow.
When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy.

Details

If your original AppendViolinPlot command included an X wave, the total number of waves in the violin plot trace cannot be greater than the number of points in your X wave.

If the violin plot trace is defined by a multicolumn wave, you cannot add additional waves using this operation.

See Also

Violin Plots, AppendViolinPlot, ModifyViolinPlot