Oops replying to the wrong post but anyway does this do what you want? aa <- c(3,6,3,5,8) lbs <- c('cat','goat', 'elephant', 'horse', 'whale') dotchart(aa, pch=(16), col = 1:5, main="A Dotchart") axis(side = 2, seq_along(aa), lbs, las=1)
--- On Thu, 10/15/09, Sean Carmody <seancarm...@gmail.com> wrote: > From: Sean Carmody <seancarm...@gmail.com> > Subject: [R] How to right-align labels in dotchart > To: "R Help Mailing List" <r-help@r-project.org> > Received: Thursday, October 15, 2009, 7:51 PM > I have only just discovered the joys > of the dotchart (since I am reading > William Cleveland's > > -- > Sean Carmody > > The Stubborn Mule > http://www.stubbornmule.net > http://twitter.com/seancarmody > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ ______________________________________________ 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.