Re: [R] label sorting x-axis

2009-06-24 Thread Henrique Dallazuanna
Try this: dotplot(value ~ factor(le, levels = le),data=df) On Wed, Jun 24, 2009 at 10:24 AM, Christian Schulz wrote: > Thanks, how is it possible that the x-axis labels getting the row sorting > instead the alphabetically one? > Could i just printed only every n (i.e. 3rd) label? > > Christi

[R] label sorting x-axis

2009-06-24 Thread Christian Schulz
Thanks, how is it possible that the x-axis labels getting the row sorting instead the alphabetically one? Could i just printed only every n (i.e. 3rd) label? Christian df <- data.frame(value=runif(26),le=letters) df <- df[order(df[,1]),] dotplot(value ~ le,data=df) Maybe you want to have