Graph: Fit Page to Layers
Format: Fit Page to Layers
Expand graph page to encompass all layers
Minimum Origin Version Required: 9.1
1. pfit2l margin:=1 direction:=0;
2. pfit2l margin:=tight;
3. pfit2l margin:=0 borderwid:=10 direction:=2;
Please refer to the page for additional option switches when accessing the x-function from script
Note: To set the margins individually in four directions(left, right, top and bottom), you can use the X-Function layarrange.
This X-Function is useful for removing unwanted white space from outside the graph layers or for padding a graph that impinges on the graph page.