R-help,
I am quite new to lattice.
I am plotting something in which I want some reference lines.
I do the foolowing :
library ( lattice )
reference.line <- trellis.par.get ( "reference.line" )
reference.line$lty <- 2 ## not working with any of the
reference.line components
# reference.line$col <- "red"
trellis.par.set("reference.line", reference.line)
xyplot ( number ~ cm | year , data = lgda., type = "l", col = "black" ,
ylab = "Number", xlab = "Length (cm) ") ## the actual plot
The result is without reference lines.
What am I doing wrong?
Thanks in advance
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html