Plotting a Volcano
This is really just a test to see if I can get this post to show up on the site. I thought that I would play with a bit of R code while I have the chance. I can see this volcano from my window of my house so it is my Maunga at the moment and I really love walking up to the tihi. Here is a small snippet from my Pēpeha:
Kei Maunga Whau ahau e noho ana
The plot below uses geospatial data that is included in the R base package showing the New Zealand roots of the software.
The code comes from: Fifty ways to draw a volcano using package plot3D by Karline Soetaert
# Preamble library(plot3D) # Reduce the resolution Volcano <- volcano[seq(1, nrow(volcano), by = 3), seq(1, ncol(volcano), by = 3)]
image2D(Volcano, lighting = TRUE, rasterImage = TRUE, contour = list(col = "white", labcex = 0.8, lwd = 3, alpha = 0.5))
I will hopefully get a chance to map and describe Maunga Whau over the next little while.