Learn R Programming

lidR (version 4.1.0)

plot.lasmetrics3d: Plot voxelized LiDAR data

Description

This function implements a 3D plot method for 'lasmetrics3d' objects

Usage

# S3 method for lasmetrics3d
plot(x, y, ...)

Arguments

x

An object of the class lasmetrics3d

y

Unused (inherited from R base)

...

Supplementary parameters for plot. The function internally uses the same plot function than LAS objects.

Examples

Run this code
if (FALSE) {
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
lidar = readLAS(LASfile)

voxels = voxel_metrics(lidar, list(Imean = mean(Intensity)), res = 5)
plot(voxels, color = "Imean", colorPalette = heat.colors(50), trim=60)
}

Run the code above in your browser using DataLab