In my previous post, I showed how to make a 3D view of an area using the
persp function. However, I felt this was not a complete representation, especially for digital elevation. While looking for some reference for my presentation on the use of R for data analysis and visualization, I came across a thread discussing " 3d plot with different levels done in different colors (solution)". In this thread, a co-blogger
Tamas K Papp's shared his levelpersp function. Using this function I tried to plot 3D view of
Marinduque, Philippines using terrain and topo color.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4XBoL6LWBRb3ncg3rfeMej6WkRfsP4o3v6i-ryABMPPbFB22679OIn-mLNpIVhm-LTQi3e7KK06HUwg8vmlu81TpXmo1kmc-CRkVEU0HivzvjACiIfOywOiF5uKPt6kDDE_tE-zx7_SLX/s1600/Mar+Terrain2.png) |
3D persp using terrain color |
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwvabXTFKtHxCnLQ1A3U_bxhaS4LnZp5V24q9_Vtkgqq8CAXPKwzbWUboFrb08tg8PA2YeO01QKEECEghJ7CXNmkhZ14Y4hfnAVfkrcFLjZUyPExx5kNgFLRJ6pTt5TIiHfoOBaWGxNNKF/s1600/Mar+Topo2.png) |
3D persp using topo color |