rthnet.com.au
-Original Message-
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of
r...@openmailbox.org
Sent: Wednesday, 17 December 2014 22:25
To: r-help@r-project.org
Subject: [R] dotplot legend
Subscribers,
For this example:
library(lattice)
testmatrix<-matrix(c(1,2,3
On 17/12/2014 12:24, r...@openmailbox.org wrote:
Subscribers,
For this example:
library(lattice)
testmatrix<-matrix(c(1,2,3,4,3,6,12,24),nrow=4,ncol=2)
testylabels<-c('w1','x1','y1','z1')
dotplot(testmatrix, scales=list(y=list(labels=testylabels), xlab=NULL))
legend('bottomright', 'legend', c
Subscribers,
For this example:
library(lattice)
testmatrix<-matrix(c(1,2,3,4,3,6,12,24),nrow=4,ncol=2)
testylabels<-c('w1','x1','y1','z1')
dotplot(testmatrix, scales=list(y=list(labels=testylabels), xlab=NULL))
legend('bottomright', 'legend', col=c('blue', 'pink'))
Error in strwidth(legend, unit
3 matches
Mail list logo