SetXTickPos
Prev | PHPlot Function Reference | Next

## SetXTickPos

SetXTickPos — Position the X tick marks

## Synopsis

    $plot->SetXTickPos($tp)

## Description

`SetXTickPos` determines where (and if) the X tick marks are drawn. The tick marks can be drawn at the bottom of the plot, above the plot, in both positions, at the X axis (even if it is in the middle of the plot), or not drawn at all.

## Parameters

`$xtp`

  A string indicating the desired position for the X tick marks:

  Position | Description
  --- | ---
  plotdown | Tick marks below the plot
  plotup | Tick marks above the plot
  both | Tick marks both below and above the plot
  xaxis | Tick marks at X axis (even if the axis is in the middle of the plot)
  none | No tick marks

## Notes

The default position for the X tick marks is below 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 SetXTickLabelPos.

See SetXAxisPosition for positioning the X axis.

Prev | Up | Next
SetXTickLength | Home | SetXTimeFormat