Plot a collection of points in 2D
Part of MathLib, a diverse library of mathematical functions.
parent |
Parent view or window |
bounds |
The bounds, a Rect |
data |
An array of [[x0,y0], [x1,y1], ...[xN,yN]] |
specX |
ControlSpec with min/max of the plotted range of dimension X |
specY |
ControlSpec with min/max of the plotted range of dimension Y |
Get or set data array.
data |
An array of [[x0,y0], [x1,y1], ...[xN,yN]] |
Refresh the view. You will need to call this after making any changes to data or settings.
Set the shape that will be drawn for each point.
method |
One of: [\fillRect, \fillOval, \lineTo] |
Color of the shape plotted for each point
Switch for highlight on/off
Set item to be highlighted. Index could be either index or array of indices.
Highlight multiple points
start |
Integer index in data array |
end |
Integer index in data array |
Set color of highlighted item
Set highlight extend
set background-color
Till Bovermann, 2005.