platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 5.1
year 2002
month 06
day 17
language R
I've been using bwplot to plot a dataframe that has a structure like
this:
str(plot.df)
`data.frame': 5952 obs. of 4 variables:
$ Year : Factor w/ 16 levels "1986","1987",..: 1 1 1 1 1
1 1 1 1 1 ...
$ Day : num 1 2 3 4 5 6 7 8 9 10 ...
$ Month : Factor w/ 12 levels
"Jan","Feb","Mar",..: 1 1 1 1 1 1 1 1 1 1 ...
$ Rainfall: Named num NA 64 388 433 121 NA NA 90 1 NA ...
..- attr(*, "names")= chr "Jan1" "Jan2"
"Jan3" "Jan4" ...
Everything works if I plot it this way:
bwplot(Year ~ Rainfall | Month, data = plot.df)
but if I try:
bwplot(Month ~ Rainfall | Year, data = plot.df)
the tick marks vanish from the top. Not only that, about 55mm at the
top of the plotting region is not used, so that even if the ticks were
drawn, there'd still be 50mm unused.
The only differences I can see are the number of panels plotted (12 in
the one that work, and 16 in the one that doesn't) and the factor on
the y-axis that doesn't work is not in alphabetical order. However, I
can't imagine how those differences could produce the effect.
Ideas?
--
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it. ---Steven Wright
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
______________________________________________________
The contents of this e-mail are privileged and/or confidential to the
named recipient and are not to be used by any other person and/or
organisation. If you have received this e-mail in error, please notify
the sender and delete all material pertaining to this e-mail.
______________________________________________________
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._