On 01/27/2010 04:08 PM, Jie TANG wrote:
Hello,
Now I draw a figure by boxplot ,but I am fail to add the tick information in
the axis? How could I ?

https://mail.google.com/mail/?ui=2&ik=c88089ec0a&view=att&th=1266e2c8dff41fcb&attid=0.1&disp=attd

now  I want to add the tick information in the x-axis as Class1
,Class2,Class3 instead of "X5,X12,V3,V4,V5,V6"
What can I do to achieve my goal?thanks

Hi Jie,
Try this:

boxplot(count ~ spray, data = InsectSprays,
 col = "lightgray",xaxt="n")
axis(1,at=1:6,labels=paste("Class",1:6,sep=""))

Jim

______________________________________________
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.

Reply via email to