SharpPlot Reference > SharpPlot Methods > NewFrame Method

SharpPlot.NewFrame Method

Clear the area for a new chart with an optional new frame size and position. Properties are reset according to the current ResetOption.




The default is to use the entire page for the chart, overlaying any previous chart. Otherwise it would be normal to set both position and size, to add a second chart anywhere in a defined region. This call can be used repeatedly to create an arbitrarily complex page with multiple graphics. For a simple tiled layout, it may be easier to have the trellis computed for you, and for an iteration through the same chart settings with repeated data, DrawMultiple will also handle the calculation of position and size for a set of similar frames.

See also ...

SharpPlot Members | SharpPlot.ResetOption Property

Send comments on this topic
© Dyalog Ltd 2016