navigation map

  1: Introduction
  2: Simple example
  3: Invocation
  4: Finer Control
  5: X-Y Plots
  6: Contour Plots
  7: Image Plots
  8: Examples
  9: Gri Commands
  10: Programming
  11: Environment
  12: Emacs Mode
  13: History
  14: Installation
  15: Gri Bugs
  16: Test Suite
  17: Gri in Press
  18: Acknowledgments
  19: License

index.html#Top GettingMoreControl.html#GettingMoreControl Gri: axis labels Gri: fonts index.html#Top Gri: fonts

4.7: Axis location

If you don't like the default position of axes (at left and bottom), you may get Gri to draw axes anywhere you like, using commands like `draw y axis at right' (so the y axis is at the right-hand end of the x range) or `draw x axis at top' (so the x axis is at the top of the plot); you may even specify an exact location, such as `draw x axis at 22.2'.

Normally, the x axis is placed at the bottom end of the y axis, and the y axis is placed at the left end of the x axis. Some people prefer a style in which the axes are positioned a small offset away from these locations. To get this effect, you may either position the axes yourself, or simply use the `set axes style offset' command (see Set). If you want this axis style for all their plots, put the line `set axes style offset' in your `~/.grirc' startup file (see Resource File).

navigation map