Workspace 6.21.5
|
Creates a new PlotItem from two DataSeries. A PlotItem controls how a single 2D data set is represented on a Plot. As a Plot can display multiple DataSeries', the PlotItem allows each DataSeries shown to be configured individually.
Inputs: | |||
---|---|---|---|
Enabled | bool | ||
Source X | CSIRO::DataAnalysis::DataSeries | The data series to use for the X values of each vertex in the PlotItem. | |
Source Y | CSIRO::DataAnalysis::DataSeries | The data series to use for the Y values of each vertex in the PlotItem. | |
Source color | CSIRO::DataAnalysis::DataSeries | The data series that controls the color of each vertex in the PlotItem. NOTE: This will only take effect if the Line style input is set to NoLine. | |
Color mode | CSIRO::DataAnalysis::PlotItem::ColorMode | ||
Color | QColor | The color to use for every vertex in the PlotItem. NOTE: Does not take effect if a DataSeries is connected to the Source color input. | |
Color scale | CSIRO::DataAnalysis::ColorScale | ||
Line mode | CSIRO::DataAnalysis::PlotItem::LineMode | Controls whether one single line is drawn through all points, or an alternative method. | |
Line style | CSIRO::DataAnalysis::PlotItem::LineStyle | Controls how the style of rendering used for the line; solid, dotted etc. | |
Line type | CSIRO::DataAnalysis::PlotItem::LineType | Controls the shape of the line; how it changes between vertices. | |
Glyph | CSIRO::DataAnalysis::PlotItem::Glyph | If set, a glyph is placed at each vertex. | |
Label | QString | Sets the label of the item. This is the text that will appear in the legend. | |
Include in legend | bool | If set, the PlotItem will appear in the legend. | |
Anti-alias | bool | Controls whether the line is rendered using multi-sample anti-aliasing, to make the line appear smoother. | |
Integer pairs of sub-sections to render | QVector<int> | An array of integers, each pair of which specifies a range of data values to render. This allows the PlotItem to exclude sections from being rendered. | |
Render plot line | bool | If enabled, the plot line will be rendered on the final plot. | |
Outputs: | |||
Plot item | CSIRO::DataAnalysis::PlotItem | A PlotItem, representing a set of data points in two dimensions. Connect this to a PlotBuilder to display it on a Plot. |