set x[<axisnumber>]range '<text>'
The xrange setting controls the range of values along the -axes of plots. For function plots, this is also the domain across which the function will be evaluated. For example:
set xrange [0:10]
sets the first axis to be between 0 and 10. Higher numbered axes may be referred to be inserting their number after the
;
-axes similarly be replacing the
with a
. Hence:
set y23range [-5:5]
sets the range of the 23rd -axis to be between -5 and 5. To request a range to be automatically scaled an asterix can be used. The following command:
set xrange [:10][*:*]
would set the -axis to have an upper limit of 10, but does not affect the lower limit; its range remains at its previous setting. The first y-axis is automatically scaled on both its upper and lower limits.