stripchart-y axis labels

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

stripchart-y axis labels

matgopa1
Hello,

I am trying to create a stripchart for my data, where y axis labels are
characters (ie,names of cities).  I would like to change the orientation
of the y - axis labels, ie perpendicular to y axis.
Below is the code i am using:

par(srt=90)
with(ozone.ne.trim,
        stripchart(Median~City,main = "stripchart(ozone)"))

The par option doesn't seem to working.

Kindly help.

Thanks
mathangi.

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Reply | Threaded
Open this post in threaded view
|

Re: stripchart-y axis labels

Simon Blomberg-2
Try  par(las=2)

Cheers,

Simon.

[hidden email] wrote:

> Hello,
>
> I am trying to create a stripchart for my data, where y axis labels are
> characters (ie,names of cities).  I would like to change the orientation
> of the y - axis labels, ie perpendicular to y axis.
> Below is the code i am using:
>
> par(srt=90)
> with(ozone.ne.trim,
> stripchart(Median~City,main = "stripchart(ozone)"))
>
> The par option doesn't seem to working.
>
> Kindly help.
>
> Thanks
> mathangi.
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>  


--
Simon Blomberg, B.Sc.(Hons.), Ph.D, M.App.Stat.
Centre for Resource and Environmental Studies
The Australian National University
Canberra ACT 0200
Australia
T: +61 2 6125 7800 email: Simon.Blomberg_at_anu.edu.au
F: +61 2 6125 0757
CRICOS Provider # 00120C

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html