[R] Fine Tuning Plotrix
Lorenzo Isella
lorenzo.isella at gmail.com
Wed Mar 10 17:40:20 CET 2010
Apologies for the previous email, I think I got it sorted out now.
Lorenzo
rm(list=ls())
library(Cairo)
set.seed(1234)
trivial_matrix<-matrix(rnorm(25),nrow=5)
CairoPDF("matrix2D.pdf")
oldpar<-par( mar = c(4.5,5, 2, 1) + 0.1,
cex.axis=1.4,cex.lab=1.6,cex.main=1.6)
color2D.matplot(trivial_matrix,c(0,0),c(0,0),c(0,1),main="A trivial Plot",
xlab = expression(paste(k)) ,
ylab=expression(paste(R[g])),show.legend=TRUE,
show.values=3,vcol="blue",vcex=1, axes=FALSE)
axis(1,at=c(0.5,1.5,2.5,3.5,4.5),labels=letters[1:5])
axis(2,at=rev(c(0.5,1.5,2.5,3.5,4.5)),labels=letters[1:5])
box()
par(oldpar)
dev.off()
More information about the R-help
mailing list