plotnode properties
Last updated: Feb 11, 2025
The Plot node shows the relationship between numeric fields. You can create a plot
by using points (a scatterplot) or lines.
Example
stream = modeler.script.stream()
typenode = stream.findByID("id42KW3MSA94B")
node = stream.create("plot", "My node")
stream.link(typenode, node)
# "Plot" tab
node.setPropertyValue("three_D", True)
node.setPropertyValue("x_field", "BP")
node.setPropertyValue("y_field", "Cholesterol")
node.setPropertyValue("z_field", "Drug")
node.setPropertyValue("color_field", "Drug")
node.setPropertyValue("size_field", "Age")
node.setPropertyValue("shape_field", "")
node.setPropertyValue("panel_field", "Sex")
node.setPropertyValue("transp_field", "")
node.run([])
properties |
Data type | Property description |
---|---|---|
|
field | Specifies a custom label for the x axis. Available only for labels. |
|
field | Specifies a custom label for the y axis. Available only for labels. |
|
flag | Specifies a custom label for the y axis. Available only for labels in 3-D graphs. |
|
field | |
|
field | Overlay field. |
|
field | |
|
field | |
|
field | Specifies a nominal or flag field for use in making a separate chart for each category. Charts are paneled together in one output window. |
|
field | Specifies a nominal or flag field for illustrating data value categories by creating a series of charts displayed in sequence using animation. |
|
field | Specifies a field for illustrating data value categories by using a different level of transparency for each category. Not available for line plots. |
|
|
Specifies whether an overlay function or LOESS smoother is displayed. |
|
string | Specifies the expression used when is set to
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
number | |
|
number | |
|
|
|
|
number | |
|
number | |
|
|
|
|
number | |
|
number | |
|
flag | |
|
number | |
|
|
|
|
flag | |
|
string | |
|
flag | |
|
string | |
|
flag | |
|
string | |
|
flag | |
|
color | Standard graph colors are described at the beginning of this section. |
|
color | Standard graph colors are described at the beginning of this section. |
|
flag | Deprecated in favor of . |
Was the topic helpful?
0/1000