diamond.plot {diamonds}R Documentation

Define a fixed aspect ratio plot

Description

Calls plot to create a plot space whose dimensions are defined by the parameters, and whose aspect ratio is fixed with respect to them.

Usage

  diamond.plot (cl)

Arguments

cl a list of coordinates with components x and y, such as returned by diamond.edges

Details

This function calls plot with type="n", and it maintains the aspect ratio of the input coordinates in the output graphic by setting par(pin=), thus the map does not scale dynamically in an on-screen window.

Author(s)

Denis White, white.denis@epa.gov

Examples

  base <- diamond.base ()
  diamond.plot (diamond.edges (base, 1))
  lines (diamond.edges (base, 4))
  lines (diamond.edges (base, 1), lwd=2)
  title ("Diamond Partition at Level 4", line=0) 

[Package diamonds version 1.0-4 Index]