Try this:

dotplot(value ~ factor(le, levels = le),data=df)

On Wed, Jun 24, 2009 at 10:24 AM, Christian Schulz <chsch...@email.de>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?
>
> Christian
>
> df <- data.frame(value=runif(26),le=letters)
> df <- df[order(df[,1]),]
> dotplot(value ~ le,data=df)
>
>
>  Maybe you want to have a look at the las option under ?par nevertheless.
>> Not sure whether it works in your example, though.
>> HTH, Michael
>> -----Original Message-----
>> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
>> On Behalf Of Christian Schulz
>> Sent: Mittwoch, 24. Juni 2009 14:04
>> To: r-help@r-project.org
>> Subject: Re: [R] vertical label on x-axis
>>
>> I get it :
>> scales=list(x=list(rot=90))
>> Cheers, Christian
>>
>>
>>
>>> Hi,
>>>
>>> have anybody a hint how it's possible plot the labels in the x-axis
>>> vertical to get more space.
>>> dotplot( value ~
>>> abbreviate(attribute,minlength=3),data=tabstat10,ylim=c(0,1),col="blue
>>> ",ylab="Value",type="p",par.settings=my.theme)
>>>
>>>
>>> Many thanks,
>>> Christian
>>>
>>>
>>>
>>>
>>
>> ______________________________________________
>> 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.
>



-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

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

Reply via email to