public class PythonScriptContext
extends PyJavaInstance
Constructor and Description |
---|
PythonScriptContext(ApplicationModel model) |
PythonScriptContext(AutoplotUI app) |
Modifier and Type | Method and Description |
---|---|
void |
plot(int chNum,
java.lang.String label,
QDataSet x,
QDataSet y,
QDataSet z,
java.lang.String renderType)
plot the dataset in the specified dataSource node, using the render type
specified.
|
public PythonScriptContext(ApplicationModel model)
public PythonScriptContext(AutoplotUI app)
public void plot(int chNum, java.lang.String label, QDataSet x, QDataSet y, QDataSet z, java.lang.String renderType)
plot( 0, 'label', findgen(20), ripples(20), ripples(20), 'digital' ) from org.virbo.autoplot import RenderType plot( 0, 'label', findgen(20), ripples(20), ripples(20), RenderType.digital.toString() )
chNum
- the plot to use. Plots and plot elements are added as necessary to plot the data.label
- the label for the dependent parameterx
- QDataSet for the independent parameter for the X valuesy
- QDataSet for the independent parameter for the Y valuesz
- Rank 1 or Rank 2 QDataSet for the dependent parameterrenderType
- hint at the render type to use, such as "nnSpectrogram" or "digital",