data#

property LineGraphic.data: VertexPositions#

Get or set the graphic’s data.

Note that if the number of datapoints does not match the number of current datapoints a new buffer is automatically allocated. This can have performance drawbacks when you have a very large number of datapoints. This is usually fine as long as you don’t need to do it hundreds of times per second.

Examples#

Drag points

Drag points

Events line data thickness

Events line data thickness

Sine and Cosine functions

Sine and Cosine functions

Line Plot Data Slicing

Line Plot Data Slicing

Lorenz System Animation

Lorenz System Animation

Change number of points in lines and scatters

Change number of points in lines and scatters

LinearRegionSelectors

LinearRegionSelectors

Linear Selectors

Linear Selectors

Linear Selectors Image

Linear Selectors Image

Unit circle

Unit circle