xtics#

Purpose#

Sets and fixes scaling, axes numbering and tick marks for the x-axis.

Note

This function is for the deprecated PQG graphics. Use plotSetXTicInterval() and plotSetXRange() for similar functionality.

Library#

pgraph

Format#

xtics(min, max, step, minordiv)#
Parameters:
  • min (scalar) – the minimum value.

  • max (scalar) – the maximum value.

  • step (scalar) – the value between major tick marks.

  • minordiv (scalar) – the number of minor subdivisions.

Remarks#

This routine fixes the scaling for all subsequent graphs until graphset() is called.

This gives you direct control over the axes endpoints and tick marks. If xtics() is called after a call to scale(), it will override scale().

X and Y axes numbering may be reversed for xy(), logx(), logy(), and loglog() graphs. This may be accomplished by using a negative step value in the xtics() and ytics() functions.

Source#

pscale.src

See also

Functions scale(), ytics(), ztics()