Re: [R] How to right-align labels in dotchart

2009-10-16 Thread Peter Ehlers
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, Se

Re: [R] How to right-align labels in dotchart

2009-10-16 Thread Sean Carmody
lephant', '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 wrote: > > > From: Sean Carmody > > Subject: [R] How to right-

Re: [R] How to right-align labels in dotchart

2009-10-16 Thread John Kane
las=1) --- On Thu, 10/15/09, Sean Carmody wrote: > From: Sean Carmody > Subject: [R] How to right-align labels in dotchart > To: "R Help Mailing List" > Received: Thursday, October 15, 2009, 7:51 PM > I have only just discovered the joys > of the dotchart (

Re: [R] How to right-align labels in dotchart

2009-10-15 Thread Sean Carmody
Pressed send too soon (apologies). Meant to say I have only just discovered the joys of the dotchart (since I am reading William Cleveland's "The Elements of Graphing Data"). However, I cannot work out how to change the alignment of the text labels from left to right. Regards, Sean. On Fri, Oct

[R] How to right-align labels in dotchart

2009-10-15 Thread Sean Carmody
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