Closed trevorld closed 1 year ago
If col is a matrix treat the same as before
col
If col is a vector (of colors) then use them to color cubes by height
fill
TRUE
If col is a function then treat it as a palette function using max(z) as its n
max(z)
n
Can use as.integer(cut(z, breaks = n)) to break z into n ranges (for colors)
as.integer(cut(z, breaks = n))
z
If
col
is a matrix treat the same as beforeIf
col
is a vector (of colors) then use them to color cubes by heightfill
isTRUE
this will color the filled in lower cubes differently by heightIf
col
is a function then treat it as a palette function usingmax(z)
as itsn