One minor complication occurs if we have defined a tic mark offset (i.e., the distance from the first or last major tic mark to the end of the frame line. You can use the following command to specify whether you want the tic mark offset included in the returned limits
If you specify OFF, the tic mark offset will not be included. If you specify ON, the tic mark offset will be included.
Note that this command does not actually set the frame limits. You can use the values returned by this command in a subsequent XLIMITS command to set the limits.
This command returns the limits for the x-axis. The YFRAME command can be used to return the limits for the y-axis.
where <x> is a response variable;
<xmin> is a parameter that stores the minimum value for the x-axis frame;
<xmax> is a parameter that stores the maximum value for the x-axis frame;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.
LET XMIN XMAX = XFRAME X SUBSET X > 0
skip 25 read berger1.dat y x . set frame limits offset off let ymin1 ymax1 = yframe y let xmin1 xmax1 = xframe x . set frame limits offset on tic mark offset units screen tic mark offset 3 3 let ymin2 ymax2 = yframe y let xmin2 xmax2 = xframe x