next up previous contents
Next: Xtics Up: Set-show Previous: Xlabel

Xrange

The set xrange command sets the horizontal range that will be displayed. This command turns x axis autoscaling off.

This range may also be specified on the plot command line.

Syntax:

        set xrange [{<xmin> : <xmax>}]

where <xmin> and <xmax> terms are constants or expressions.

Both the <xmin> and <xmax> terms are optional. Anything omitted will not be changed, so

        set xrange [:10]
changes xmax to 10 without affecting xmin.

Andreas Geyer-Schulz
Tue Sep 12 22:17:47 MET DST 1995