Reference > Methods > SetTrellis Method

SharpPlot.SetTrellis Method

Creates a trellised layout given (cells down, cells across) or the total cell count.

Example

sp.SetTrellis(19); // Auto layoutsp.SetTrellis(3,4); // Grid

Overloads

This method carves up the available paper size into a rectangular collection of frames. The first chart to be drawn will use the first cell in the trellis, and calls to NewCell will move to the next available cell, working across the rows or snaking down the columns depending on the TrellisStyle setting.

If the requested total cell count does not fit nicely into the page shape, there will be vacant cells in the lower right corner.

See also ...

SharpPlot Members | TrellisStyle Property | DrawMultiple Method | NewCell Method


Send comments on this topic
© Dyalog Ltd 2013