MoveSubwindow
MoveSubwindow [/W=winName ] [fguide=(gLeft, gTop, gRight, gBottom ), fnum=(left, top, right, bottom ), pguide=(gLeft, gTop, gRight, gBottom )]
The MoveSubwindow operation moves the active or named subwindow to a new location within the host window. This command is primarily for use in recreation macros; users should use layout mode for repositioning subwindows.
Parameters
| fguide=(gLeft, gTop, gRight, gBottom ) | |||||
| Specifies the frame guide name(s) to which the outer frame of the subwindow is attached inside the host window. | |||||
| The frame guides are identified by the standard names or user-defined names as defined by the host. Use * to specify a default guide name. | |||||
| When the host is a graph, additional standard guides are available for the outer graph rectangle and the inner plot rectangle (where traces are plotted). | |||||
| See Details below for standard guide names. | |||||
| fnum=(left, top, right, bottom ) | |||||
| Specifies the new location of the subwindow. The location coordinates of the subwindow sides can have one of two possible meanings: | |||||
| |||||
| pguide=(gLeft, gTop, gRight, gBottom ) | |||||
| Specifies the guide name(s) to which the plot rectangle of the graph subwindow is attached inside the host window. | |||||
| Guides are identified by the standard names or user-defined names as defined by the host. Use * to specify a default guide name. | |||||
| See Details below for standard guide names. | |||||
Flags
| /W= winName | Moves the subwindow in the named window or subwindow. When omitted, action will affect the active subwindow. | |
| When identifying a subwindow with winName, see Subwindow Syntax for details on forming the window hierarchy. | ||
Details
When moving an exterior subwindow, only the fnum keyword may be used. The values are the same as the NewPanel /W flag for exterior subwindows.
The names for the built-in guides are as defined in the following table:
| Guide Names | Left | Right | Top | Bottom |
|---|---|---|---|---|
| Subwindow Frame | FL | FR | FT | FB |
| Outer Graph Rectangle | GL | GR | GT | GB |
| Inner Plot Rectangle | PL | PR | PT | PB |
The frame guides apply to all window and subwindow types. The graph rectangle and plot rectangle guide types apply only to graph windows and subwindows.