Displaying 1 result from an estimated 1 matches for "heterocyst".
2011 Nov 29
0
Labels in xy-plots
...ot; and "station".
library(lattice)
MyLines <- function(xi, yi, ...){ #Draws line in the panels while
avoiding spaghetti-plots
I <- order(xi)
panel.lines(xi[I], yi[I], col = 1)}
xyplot(het ~ temp | fstation, data = data1, groups = fyear, xlab = "temp",
ylab = "heterocyst freq",
panel = panel.superpose, #ensures that lines from all years (defined by
"groups") from the same stations are superimposed in he same panel
panel.groups = MyLines) #specifies which task should be carried out on the
data defined by the "groups" option (here: &quo...