On Tue, Apr 3, 2012 at 7:25 PM, David Lyon <david_ly...@yahoo.com> wrote: > if I had a data file like this: > 1.42 1.29 -0.13 > 1.46 1.34 -0.12 > 1.45 1.32 -0.13 > 1.36 1.26 -0.10 > 1.33 1.29 -0.04 > > I want to create a image plot like this: > data1<-read.table("A") > > image.plot(t(data1), axes=FALSE, xlab=NA, ylab=NA) > > I cant get the labels for the x axis right can some kind person help me?
axis(1,at=seq(0,1,l=ncol(data1)),labels=LETTERS[1:ncol(data1)]) > axis(1.....???????.....labels=c("A", "B", "C")) > > > Many thanks in advance! > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.