plotWithScale: Plot a scale, e.g. to add on the side of image()

View source: R/plotting.R

plotWithScaleR Documentation

Plot a scale, e.g. to add on the side of image()

Description

Takes some time to draw (there is one polygon per break...) http://menugget.blogspot.de/2011/08/adding-scale-to-image-plot.html

Usage

plotWithScale(
  z,
  zlim,
  col = grDevices::heat.colors(12),
  breaks,
  horiz = TRUE,
  ylim = NULL,
  xlim = NULL,
  ...
)

Arguments

z

vector

zlim

lim

col

color

breaks

vector

horiz

boolean

ylim

lim

xlim

lim

...

arguments to be passed to plot()

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.