3.6.4.37 Rescale

Rescales the X and Y axes of the active layer to show all data.

Definition:

Def Rescale {layer -all};

Example:

The following script sets layer 2 as the active layer, plots the dataset MyData1_B into the layer, and then rescales the layer to show all data.

layer -s 2;  // make layer 2 active
layer -i Mydata1_B;  // add MyData1 to layer 2
Rescale;  // rescale layer 2