image2: Plot Images (Matrices) with Intuitive Axes

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/image2.r

Description

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

Usage

1
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

1

Example output



imagefx documentation built on Feb. 14, 2020, 1:07 a.m.