Search Locate Previous Next Contents

MarkerScale – marker scale

Allows markers to be scaled independently of the current line weight. Scaled markers are always drawn as vector graphics, rather than icons.

chSet 'mscale' 1.5

This may be a scalar or a vector matching the shape of the data, in which case each marker is individually scaled. Suitable for incidence plots where the xy is the location of the outbreak and the scale can show the number of cases; here you would probably scale with the square-root of the count so that the area of the marker was a good visual guide to the density of the data.

See function Ammonite for an example. In this case the markers are scaled roughly in proportion to the radius.

chSet('style' 'noline,grid')
chSet ('mark' 14)
chSet ('mscale'((¼14)*.75))
chPolar¼14
PG„chClose

The circular markers (9 to 13) can be used effectively here, and the 3D markers work particularly well in VML output, as the native ‘gradient fill’ capabilities of VML may be used to shade them.



Continue to: Markers – marker cycle
© Copyright Causeway Graphical Systems Ltd 2003