ytics#

Purpose#

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

Note

This function is for the deprecated PQG graphics, use plotSetYTicInterval() and plotSetYRange() for similar functionality.

Library#

pgraph

Format#

ytics(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 ytics() 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(), xtics(), ztics()