Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

plot.imlist

Plot an image list


Description

Each image in the list will be plotted separately. The layout argument controls the overall layout of the plot window. The default layout is "rect", which will fit all of your images into a rectangle that's as close to a square as possible.

Usage

## S3 method for class 'imlist'
plot(x, layout = "rect", ...)

Arguments

x

an image list (of type imlist)

layout

either a matrix (in the format defined by the layout command) or one of "row","col" or "rect". Default: "rect"

...

other parameters, to be passed to the plot command

Author(s)

Simon Barthelme

Examples

imsplit(boats,"c") #Returns an image list
imsplit(boats,"c") %>% plot
imsplit(boats,"c") %>% plot(layout="row")
imsplit(boats,"c") %>% plot(layout="col")
imsplit(boats,"x",5) %>% plot(layout="rect")

imager

Image Processing Library Based on 'CImg'

v0.42.10
LGPL-3
Authors
Simon Barthelme [aut], David Tschumperle [ctb], Jan Wijffels [ctb], Haz Edine Assemlal [ctb], Shota Ochi [cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.