Xrange

The set xrange command sets the horizontal range which 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 expressions or constants.

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.