[R] Different colours for LatticeExtra graphs

Alvaro alvaro.proano at webrisko.com
Wed Jan 8 07:24:08 CET 2014


I am using the "panel.3dpolygon" function from the LatticeExtra package. I
am graphing a matrix.

I can't find a way in which each polygon is presented in a different color.

The description of the function says that the "col" argument permits vectors
(the components of which are colors) to be associated with each bar in a
"panel.3dbars" graph, but nothing with "panel.3dpolygon"...

I write a vector while using the function, but it will only use the first
component of the vector to give color to the whole graph.



View this message in context: http://r.789695.n4.nabble.com/Different-colours-for-LatticeExtra-graphs-tp4683250.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list