Gri Commands

1: Introduction
2: Simple example
3: Fancy example
4: Running Gri
5: Programming Gri
6: General Issues
7: X-Y Plots
8: Contour Plots
9: Image Plots
10: Examples
11: Handling Data
12: Gri Commands
13: Gri Extras
14: Evolution of Gri
15: Installing Gri
16: Gri Bugs
17: System Tools
18: Acknowledgments
19: License
20: Newsgroup

21: Concept Index

12.37: The `resize' Command

`resize {x for maps}|{y for maps}'

Resize the axes frame region in such a way that geographical objects appear in correct proportions. This assumes that y is degrees latitude and x is degrees latitude.

  • `resize x for maps' Resize the plot width for maps, assuming that x represents longitude and y represents latitude. Before using this, you must have defined scales for both x and y, and a size for y (ie, you must have done `set x axis ...', `set y axis ...' and `set y size'); this command sets the x size, thus eliminating `set x size.' The result is that, at the central latitude (y), a centimetre on the page will correspond to an equal distance on the earth, in both the north-south and east-west directions.

  • `resize y for maps' Resize the plot height for maps, assuming that x represents longitude and y represents latitude. Before using this, you must have defined scales for both x and y, and a size for x (ie, you must have done `set x axis ...', `set y axis ...' and `set x size'); this command sets the y size, thus eliminating `set y size.' The result is that, at the central latitude (y), a centimetre on the page will correspond to an equal distance on the earth, in both the north-south and east-west directions.

    See also `resize x for maps'.