Skip to content
Prev 255563 / 398506 Next

Lattice wireframe or cloud plot with different colours by a group

On Apr 1, 2011, at 6:21 PM, Pam Allen wrote:

            
It does not look to me that high flows are properly grouped with `grp`.
wireframe(flow~day*year, data=flow.dat,  drape=TRUE,  
col.regions=c("#FF3030","#551A8B","#43CD80"),
           at=c(0,.6,1.3,1.8))

Because of the coding at the corner and the long thin polygons you  
have specified with your day*year splits you get slanting colors.
David Winsemius, MD
West Hartford, CT