search for: femdiploiduninf

Displaying 1 result from an estimated 1 matches for "femdiploiduninf".

2008 Feb 05
2
dynamically add items to key of lattice xyplot
...o, in the lattice documentation, the only separate key function I could find is draw.key(), no functions to add individual key items. anyone has more info on dynamically adding items to keys in xyplots? thanks, Bram Kuijper this is the code for my lattice xyplot plot: print(xyplot(current_data$FemDiploidUninf ~ current_data$generation, ylim=c(0,2000), scales=list(x=list(tick.number=4)), par.settings=list(plot.line=list(col='red')), type="l", key=list(text=list(c("blah","blah2")),x=0.5,y=0.5,lines=list(type="l",col="red")), ),newpage=FALSE) # add...