plot.gridanalysis.cartogramR {cartogramR}R Documentation

Plot a gridanalysis.cartogram object

Description

Plot a gridanalysis.cartogram object

Usage

## S3 method for class 'gridanalysis.cartogramR'
plot(
  x,
  nthsmallest = 5,
  redrawxaxis = TRUE,
  type = "b",
  xlab = NULL,
  ylab = NULL,
  ylim = c(0, 20),
  ...
)

Arguments

x

a gridanalysis.cartogram object

nthsmallest

plot only the nthsmallest values among all polygons

redrawxaxis

if TRUE redraw ticks and labels of x axe at grid size on log scale

type

character string (length 1 vector) or vector of 1-character strings indicating the type of plot for each polygons, see graphics::matplot for all possible types.

xlab

titles for x axe, as in graphics::matplot.

ylab

titles for y axe, as in graphics::matplot.

ylim

ranges of y axe, as in graphics::matplot.

...

arguments passed to or from other methods.

Value

No return value, called for side effects

Examples


  data(usa)
  precarto <- precartogramR(usa, method="gsm", pf=1.2, verbose=TRUE)
  plot(precarto)



[Package cartogramR version 1.1-0 Index]