SetNumXTicks
Prev | PHPlot Function Reference | Next

## SetNumXTicks

SetNumXTicks — Set the number of X tick marks

## Synopsis

    $plot->SetNumXTicks($nt)

## Description

`SetNumXTicks` sets the exact number of tick marks to draw on the X axis. You can use either this function or SetXTickIncrement (but not both) to control the tick mark spacing.

## Parameters

`$nt`

  Integer number of tick marks to draw.

## Notes

If neither `SetNumXTicks` nor SetXTickIncrement is used, the tick mark interval is calculated as 1/10th of the X data range.

Prev | Up | Next
SetNumberFormat | Home | SetNumYTicks