Skip to content

SVGraph_ScatterPlot()

CapnOdin edited this page Jan 11, 2018 · 7 revisions

Draws a circle for each of a set of points.

SVGraph_ScatterPlot(LstX, LstY [, Colour, Size, Opacity, ScaleAxes, Group])

Parameters

LstX

A list of the x-coordinates to be plotted in pairs with the y-coordinates from LstY.

LstY

A list of the y-coordinates to be plotted in pairs with the x-coordinates from LstX.

Colour

The colour of the circles, supports HTML Color Names or Color Values. e.g. "lightgrey" or "#FF00FF".

Size

The radius of the circles, as a number followed by an optional Unit e.g. 3 or "5mm".

Note: If the unit is included there should be no space between the number and the unit.

Opacity

A value in the range [0, 1], where 0 is fully transparent and 1 is fully opaque.

ScaleAxes

A boolean determining whether or not to scale the axes to LstX and LstY.

Group

The group to add the circles to.

Note: This is not intended to be used yet, but was needed in the ScatterImage function from SVGraph test.ahk.

Remarks

.

Example

Scatter plot generated using the function ScatterImage() in SVGraph test.ahk. AHK scatter plot

Clone this wiki locally