[R] levelplot not adjusting colors

2007-01-11 Thread Bram Kuijper
Hi all, I try to make a levelplot from the Trellis graphics package of count data given a certain x and y variable. The problem is that I can adjust the colorkey colors, but the colors of the actual values in the plot will be unchanged if I change the colorkey. e.g. my_lvl_plot <- levelplot(my

[R] lattice xyplot: plot multiple lines with different colors

2006-12-28 Thread Bram Kuijper
Hi everyone, I am using the lattice package to plot some simulation results, by using the function xyplot(). However, I cannot find a way to plot multiple lines within the same xyplot and to have each of the lines be drawn in a different color. This is what I am currently doing: xyplot(a + b