search for: matrix2d

Displaying 2 results from an estimated 2 matches for "matrix2d".

Did you mean: matrix2
2010 Mar 09
3
Fine Tuning Plotrix
...to resort to color.legend if e.g. I want to rotate the legend and align it to the y axis? Many thanks Lorenzo ############################################################ rm(list=ls()) library(Cairo) library(plotrix) set.seed(1234) trivial_matrix<-matrix(rnorm(25),nrow=5) CairoPDF("matrix2D.pdf") par( mar = c(4.5,5, 2, 1) + 0.1) color2D.matplot(trivial_matrix,main="A trivial Plot",xlab = expression(paste(k)), ylab=expression(paste(R[g])),cex.axis=1.4,cex.lab=1.6, cex.main=1.6, show.legend=TRUE, show.values=1,vcol="blue", vcex=1, axes=TRUE) d...
2007 Dec 14
3
Array dimnames
Dear all, Possibly a rudimentary question, however any help is greatly appreciated. I am sorting a large matrix into an array of dim(p(i),q,3). I put each entry into a corresponding matrix (1 of the 3) based on some criteria. I figure this will assist me in condensing code as I can loop through the 3rd dimension of the array instead of generating 3 separate matrices and using the same block of