GSCALE K K
NMINIMUM K
NMAXIMUM K
NTICKS K
TMINIMUM K
TMAXIMUM K
SMINIMUM K
SMAXIMUM K
GSCALE is useful primarily when you are writing a macro that produces graphs, and you need to know information before you produce the graphs to ensure that the scaling on the graphs will look right. For example, you might want to generate two or more graphs that use the same scale, but you want some control over what that scaling will be. You can use the data stored by GSCALE to specify scaling options in subsequent graph commands.
The arguments on the main command are the minimum (the first K) and the maximum (the second K) of the data from all of the x-y columns to be graphed, combined. An easy way to get those values is to STACK all the x-y columns on top of each other in a new column, then use the MIN and MAX commands to store the minimum and maximum values.