vignette (plotting)
vignette (introduction)
levelplot (chondro) # throws warning: only first wl is used
levelplot (spc ~ y * x, chondro [,,1003]) # properly rotated
levelplot (spc ~ y * x, chondro [,,1003], aspect = "iso")
plotmap (chondro [,,1003])
# plot spectra matrix
levelplot (spc ~ .wavelength * t, laser, contour = TRUE, col = "#00000080")
levelplot (laser, contour = TRUE, col = "#00000080")
plot (flu, "mat") # use base graphics
plotmat (flu)
plotmat (flu, contour = TRUE, add = TRUE)
# applying a function before plotting
plotmap (chondro, func = max, col.regions = gray (seq (0, 1, 0.05)))
plotmap (chondro, clusters ~ x * y)
plotmap (chondro, clusters ~ x * y, transform.factor = FALSE)
plotmap (chondro, clusters ~ x * y, col.regions = gray (seq (0, 1, 0.05)))
# Voronoi plots
smpl <- sample (chondro, 300)
plotmap (smpl, clusters ~ x * y)
if (require (tripack))
plotvoronoi (smpl, clusters ~ x * y)
if (require (deldir))
plotvoronoi (smpl, clusters ~ x * y,
use.tripack = FALSE)
Run the code above in your browser using DataLab