Re: [R] dotplot axes labelling

2014-12-15 Thread David L Carlson
Anthropology Texas A&M University College Station, TX 77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of r...@openmailbox.org Sent: Monday, December 15, 2014 10:03 AM To: r-help@r-project.org Subject: [R] dotplot axes labelling Subscribers, Wha

[R] dotplot axes labelling

2014-12-15 Thread rl
Subscribers, What is my mistake with the following 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(testylabels)), xlab=NULL) #testylabels not shown, instead 'D' 'C' 'B' 'A' Thanks in adva