plot.lasmetrics3d {lidR}R Documentation

Plot voxelized LiDAR data

Description

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

Usage

## S3 method for class '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

## Not run: 
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)

## End(Not run)

[Package lidR version 4.1.1 Index]