SetDrawBrokenLines

SetDrawBrokenLines — Sets whether lines should be broken at missing data

Synopsis

$plot->SetDrawBrokenLines($bl)

Description

SetDrawBrokenLines determines how to plot lines with missing data points. By default, PHPlot will act as if the point does not exist, connecting the points before and after the missing datum in the usual way. Use SetDrawBrokenLines to leave a gap between the points before and after missing data instead.

This only applies to 'lines', 'linepoints', and 'squared' plot types.

Parameters

$bl

True to break the lines at missing data points. False to connect the lines around missing data.

Notes

The default is to ignore missing data and connect lines around missing points.

A missing data point is indicated by an empty string in the corresponding position for the dependent variable value in the data array. This is the Y value for vertical plots, or X value for horizontal plots. See Section 3.3.4, “Missing Data in Data Arrays” for more information.

SourceForge.net Logo

This version of the manual was produced for the PHPlot Sourceforge project web service site, which requires the logo on each page.

To download a logo-free copy of the manual, see the PHPlot project downloads area.