plotMatrix: Plot a matrix as a color map.

Description Usage Arguments Details

View source: R/plotMatrix.R

Description

Function to plot a matrix as a color map.

Usage

1
2
3
plotMatrix(mat, zlab = "", xlab = "", ylab = "", zmax = NULL,
  zmin = 0, title = NULL, cex = 1, colorscale = c("hot", "cold",
  "coldhot"), plotsize = c(970, 780), showDiagonal = TRUE)

Arguments

mat

- matrix to plot

zlab

- z label

xlab

- label for x axis

ylab

- label for y axis

zmax

- max value for color scale

zmin

- min value for color scale

title

- title for plot

cex

- character expansion factor for plot

colorscale

- color scale to use for plot ('hot', 'cold' or 'coldhot')

plotsize

- 2 element vector giving plot size in pixels (c(W,H))

showDiagonal

- TRUE/FALSE to plot diagonal line

Details

Uses functions


wStockhausen/rTCSAM2015 documentation built on May 3, 2019, 7:14 p.m.