Search Locate Previous Next Contents

CellSize – cell size when using markers to make cells

When plotting geographically-related data (see the PYGS example) it is often necessary to draw a set of small plots at the actual xy positions of various sample sites. You can do this by running a standard xy-plot with style ‘cells’ to define a plotting cell centred on each data point. Repeated calls to chNewCell will then walk you around the cells in the same sequence as the xy datapoints which defined them.

The cell size defaults to 1” square (72 by 72 points). You can reset it to any size you like before running the xy plot to generate the cells:

chSet'nolines,nomark,cells'
chSet'Cellsize' 32

See example function PieMarkers which uses small piecharts as the markers in a timeseries plot.

See also ...
chNewCell – advance to next cell in trellis
Positioning Small Plots on the Page
Style – chart style


Continue to: ClassInterval – class interval
© Copyright Causeway Graphical Systems Ltd 2003