Making 3D plots with lattice
Three-dimensional visualization, although undesirable for certain purposes (where precise interpretation is important, such as in the scientific literature), can nevertheless be particularly impressive and aesthetically appealing. In this section, we are going to use lattice
to create three-dimensional plots of spatial and nonspatial data, which is not possible to do with ggplot2
since it only allows two-dimensional plotting. The lattice
graphics framework and syntax are no less complex than those of ggplot2
, and a single section is far too short to comprehensibly review the subject. Our purpose here is much more modest: to show some of the things that can be achieved and inspire interested readers to investigate further. ...
Get Learning R for Geospatial Analysis now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.