FISCHER, Matthew wrote:
> Hi R-users,
>
>
> I'm running R under Unix and producing postscript output of graphs.
> Soemtimes, some tick axis labels disappear from my output.
> eg if I have a vector
>
> months <-
c("J","F","M","A","M","J","J","A","S","O","N","D")
>
> Then the "M" and one or 2 other letters are dropped from the
axis.
>
> This seems to be a size problem, but the spacing looks fine to me (all
> the letters could easily be seen if they were all there). So my
> question is, can I override what R is doing to the tick labels, without
making the
> labels smaller? I searched the help files but couldn't find anything
specifically on this.
Not directly, but you can fake by plotting the stuff in two chunks as in:
plot(1:12, xaxt="n")
months <-
c("J","F","M","A","M","J","J","A","S","O","N","D")
temp <- seq(1, 12, 2)
axis(1, temp, labels=months[temp])
temp <- seq(2, 12, 2)
axis(1, temp, labels=months[temp])
Uwe Ligges
> cheers,
>
> Matt.
>
> Dr Matt Fischer
> ANSTO - Institute for Nuclear Geophysiology
> PMB 1 Menai NSW 2234
> Ph: +61 2 9717 9686
> Fax: +61 2 9717 3599
> Mobile: 0428 363 146
> http://www.ansto.gov.au/nugeo/
> http://ipilps.ansto.gov.au/
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html