imagenan: Plots False Colour Image

View source: R/Equitable_Transform.R

imagenanR Documentation

Plots False Colour Image

Description

Displays a false colour image of two dimensional data set

Usage

imagenan(
  x,
  yline = 3,
  yma = 5,
  topyma = 4,
  xline = 3,
  xma = 6,
  lnumr = 10,
  lnumc = 10,
  lasval = 1,
  cex.axis = 0.7,
  cex.lab = 0.7,
  cex.main = 0.7,
  widths = c(5, 1.25),
  heights = c(1, 0.5),
  col = topo.colors(255),
  outside.below.color = "black",
  outside.above.color = "white",
  na.color = "grey28",
  ...
)

Arguments

x

2D data to display

yline

Number of lines in (left side) to where image begins

yma

Number of characters in (left side)

col

colour table

outside.below.color

Colour below threshold

outside.above.color

Colour above threshold

na.color

Colour of NAs (see par)

...

other plot parameters eg zlim list with min and max range of color table data e.g. zlim=c(2,5)

Value

None

Examples

d<-eg4()
imagenan(d)
imagenan(d,zlim=c(2,8))
imagenan(d,zlim=c(3,8),outside.above.color='red',outside.below.color='tan')
d=data.frame(cbind(c(1:4),c(2,5,NA,NA) ))
imagenan(d)

celphin/Equitable documentation built on Jan. 23, 2023, 11:02 p.m.