plot.imlist: Plot an image list

View source: R/imglist.R

plot.imlistR Documentation

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 documentation built on May 29, 2024, 1:38 a.m.