Layouts in Igor Pro
A layout is the page: graphs and tables placed where the figure needs them.
Function BuildFigure()
DoWindow/K FigureOne
NewLayout/N=FigureOne
AppendLayoutObject/F=0/R=(72, 72, 360, 288) graph TraceGraph
AppendLayoutObject/F=0/R=(72, 300, 360, 516) graph MatrixView
ModifyLayout mag=0.75, units=0
TextBox/C/N=panelA/A=LT/F=0 "A"
End
How it works
NewLayoutopens one;AppendLayoutObjectplaces a window on it.- Coordinates are in points, from the top left of the page.
ModifyLayoutsets the page size and orientation.
Keywords and builtins used here
AppendLayoutObjectDoWindowEndFunctionModifyLayoutNewLayoutTextBox
The run, in numbers
- Lines
- 10
- Characters to type
- 257
- Tokens
- 66
- Three-star pace
- 90 tpm
At the three-star pace of 90 tokens a minute, this run takes about 44 seconds.
Step 1 of 3 in Off the screen, step 16 of 19 in Graphs & presentation.