SetYTickPos — Position the Y tick marks
$plot->SetYTickPos($tp
)
SetYTickPos
determines where (and if) the
Y tick marks are drawn. The tick marks can be drawn on the left side of the
plot, on the right side the plot, in both positions, at the Y axis (even if
it is in the middle of the plot), or not drawn at all.
$tp
A string indicating the desired position for the Y tick marks:
Position | Description |
---|---|
plotleft | Tick marks on the left side of the plot |
plotright | Tick marks on the right side of the plot |
both | Tick marks on both left and right sides of the plot |
yaxis | Tick marks at Y axis (even if the axis is in the middle of the plot) |
none | No tick marks |
The default position for the Y tick marks is on the left side of the plot.
This applies only to tick marks. You may want the tick labels to be in the same positions as the tick marks. To position the tick labels, see SetYTickLabelPos.
See SetYAxisPosition for positioning the Y axis.
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.