image2 {imagefx}R Documentation

Plot Images (Matrices) with Intuitive Axes

Description

Plot images (array or matrix) using the rasterImage function.

Usage

image2(img, ...)

Arguments

img

numeric matrix or array to plot

...

additional arguments to pass to the plot function

Details

Note the difference in image orientation between image() and image2(). These two plots will have the origin in different locations and can make things tricky when picking areas to crop, etc...

Value

Nothing. Returns a plotting window.

Author(s)

Alex J.C. Witsil

See Also

rasterImage

Examples

image2(sakurajima)

[Package imagefx version 0.4.1 Index]