Graph: Fit Layers to Page
Adjust graph layers to tight fit within the page
Minimum Origin Version Required: 2018b
1. gfitp margin:=5;
2. gfitp %H margin:=5 aspect:=1;
3. gfitp Graph1;
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Input Graph | igp |
Input GraphPage |
|
A named graph page or can be the active graph page. |
Margin (% of page size, such as 2 or 5) | margin |
Input double |
|
Margin (% of page size, such as 2 or 5) |
Maintain Layer Aspect Ratios | aspect |
Input int |
|
Maintain Layer Aspect Ratios
allowed values: 0=false, 1=true |
This X-Function can be used for the following:
Keywords:margin, border, aspect ratio