Displaying 2 results from an estimated 2 matches for "dryoutcover".
2004 May 29
3
panel function in a conditioned lattice graphic
I'm trying to use plotting character to encode the variable "block"
from my dataset in a conditioned lattice graphic (R 1.9.0 on Mac OS
10.3.3). The data I'm using is the dataframe "dryoutcover" which is
here (4k):
http://anthony.darrouzet-nardi.net/downloads/dryoutcover.Rdata
The code that generates my graphic almost correctly is as follows:
xyplot(coversage ~ dryout | year,
data=dryoutcover,
panel = function(x,y) {
panel.lmline(x,y)
one <- dryoutcover$block==1
two &l...
2004 Jun 02
1
Using postscript() in a script that is source()ed
...ould like to run by
source()ing the file. In the script I make objects that contain each
of the graphics (all lattice objects or functions that contain
lattice functions). Then at the end of the script, I have a section
which prints them to separate eps files like this:
postscript(file = "dryoutcover.eps", height = 5, width = 7,
horizontal = FALSE, onefile = FALSE, paper = "special")
dryoutcover.plot # this is an object created by xyplot and it's one
of the ones that doesn't print.
dev.off()
When I run the script using source(), only a couple of the graphics
are drawn...