Rescale-macro
Rescales the X and Y axes of the active layer to show all data.
Def Rescale {layer -all};
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