2.5.40 pfit2l

Menu Information

Graph: Fit Page to Layers

Format: Fit Page to Layers

Brief Information

Expand graph page to encompass all layers

Additional Information

Minimum Origin Version Required: 9.1

Command Line Usage

1. pfit2l margin:=1 direction:=0;

2. pfit2l margin:=tight;

3. pfit2l margin:=0 borderwid:=10 direction:=2;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Graph igp

Input

GraphPage

<active>
A named graph page or can be the active graph page.
Margin Control margin

Input

int

0
Margin Control allowed values: 0=border:Border, 1=tight:Tight
Border Width borderwid

Input

double

5
Use only when Margin Control is 0=border. Specify border that is a percentage of width of the smallest rectangle to completely encompass all objects on the graph page.
Adjust Direction direction

Input

int

0
Adjust Direction allowed values: 0=both:Height and Width, 1=height:Height Only, 2=width:Width Only

Description

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.

Algorithm

References

Related X-Functions

gfitp


Keywords:fit, enlarge