PAGE (Define a plotting page)

The PAGE command defines the limits of the map page relative to the plot origin. All map reference points (1 through 9) are defined (or re-defined) after this command.

Command Syntax:

PAGE x1,y1,x2,y2,dx,dy

Command Parameters:

x1,y1

The plot coordinates of the lower left corner of the page map area in user units (usually centimetres). The default is 1,1 cm.

x2,y2

The plot coordinates of the upper right corner of the page map area in user units (normally centimetres). The default is 20.5, 26.0cm., which is reasonable for an 8.5 x 11 inch or A4 page.

dx,dy

Option: The map area may be defined by the (dx,dy) size in user units. If a size is specified, x2,y2 are ignored.

  • This command must not be used together with the MDFF, MAPR, or WPAG commands. All of these commands serve the function of defining plot size.
  • Example
    PAGE 1,1,40,24 /define a plotting page

    WIND 1,2,15,22,23 /define a data window

    WDEF 0,48000,1500,50000 /define window coordinates

    DOPN mag,2 /open MAG.XYZ to read second z

    DXYZ L100 /read Line 100

    DSWP Z,Y /move Z into Y buffer

    LINA 0 /plot buffer as world coord.

    This control file will draw a scaled profile of the data in the second column of Line 100 in data file MAG.XYZ.

  • This command is part of the MAPPLOT GX.