plotImageRotated plots a raster/matrix using image() but supplying
a rotated version of the matrix, i.e. it plots the matrix as it
printed on the screen.
numeric vector: coordinate values for the columns of data
row.vals
numeric vector: coordinate values for the rows of data
scale
logical: whether to plot a color scale besides the plot
col
color vector: colors to create the color scale.
zlim
numeric vector (length two): outer
limits of the color-scale. Values above or below this
range are colored brighter/darker than the maximum/minimum
color (see ?plotColorScale).
title
character string: title of the color legend
useRaster
argument passed to image() to decide whether to
draw polygons (FALSE) or use a bitmap raster (TRUE).
xlab
ylab
...
further arguments passed to image
Details
The normal image() function always plots a rotated version of a matrix. This function
rotates the input to image in a way that the first entry of the matrix (col=1, row=1)
shows up at the top-left corner of the plot. In other words the way a matrix would be
displayed by printing it directly mapped to the plot.
Value
Nothing is returned.
Author(s)
Jannis v. Buttlar
See Also
image, plotColorScale, the plotting routines of the raster package