SetDrawYAxis — Enable or disable drawing of the Y axis line
$plot->SetDrawYAxis($draw
)
SetDrawYAxis
enables or disables drawing of the Y axis
line. Disabling the Y axis line should be necessary only in special
applications.
By default, the Y axis line is drawn.
Disabling the Y axis line does not disable associated plot elements, nor change the plot margin calculation. To produce a completely 'bare' plot, you must turn off the grid, tick marks, tick labels, and data labels. You also need to turn off the plot area border, which defaults to left and right sides. Lastly, you might want to reduce the margins, since the default minimum margin is 15 pixels on each side of the plot area, even if there are no axis lines, labels, or titles. See SetDrawXAxis for sample code.
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.