MeMooMeM wrote:
Hi,
I finally came up with a nice colored matrixplot, using the color2D.matplot
function of the plotrix package. But I can't assign xtics and ytics to this
plot. I made sure that the matrix has correct colnames() and rownames().
Here's what I do:
a=matrix(1:16, 4, 4)
colnames(a
Looking into the color2D.matplot code showsthat this is by design. You
might want to contact the package maintainer and send suggestions how to
patch the function (or better, send the patch itself) in order to show
appropriate labels.
Of course, for a worksround, disable axes
color2D.matplot(
Hi,
I finally came up with a nice colored matrixplot, using the color2D.matplot
function of the plotrix package. But I can't assign xtics and ytics to this
plot. I made sure that the matrix has correct colnames() and rownames().
Here's what I do:
a=matrix(1:16, 4, 4)
colnames(a) <- c("X1", "X2"
3 matches
Mail list logo