[R] lattice xyplot symbols instead of colors and legend matching plot symbols or colors

2008-09-24 Thread stephen sefick
I would like to use the data below where the plots are close to what I want. Instead of color I would like to use different symbols, and have the symbols in the legend match the graphs. I am also going to add a regression line to these I know about the type=r (which is fine for these particular

Re: [R] lattice xyplot symbols instead of colors and legend matching plot symbols or colors

2008-09-24 Thread stephen sefick
xyplot(GPP~(1/Iron)+(1/TSS)+TIN.TP, groups=RiverMile,data=f, scales=list(relation=free), par.settings = list( superpose.symbol = list( pch = c(1:7), fill = c(red, blue), col = black)), auto.key=TRUE, panel=function(...){

Re: [R] lattice xyplot symbols instead of colors and legend matching plot symbols or colors

2008-09-24 Thread Deepayan Sarkar
On Wed, Sep 24, 2008 at 10:15 AM, stephen sefick [EMAIL PROTECTED] wrote: I would like to use the data below where the plots are close to what I want. Instead of color I would like to use different symbols, and have the symbols in the legend match the graphs. I am also going to See

Re: [R] lattice xyplot symbols instead of colors and legend matching plot symbols or colors

2008-09-24 Thread stephen sefick
Deepayan I believe that I am dense- I am still having a problem getting it working. I can not figure out how to use packet.number. On Wed, Sep 24, 2008 at 2:56 PM, Deepayan Sarkar [EMAIL PROTECTED] wrote: On Wed, Sep 24, 2008 at 10:15 AM, stephen sefick [EMAIL PROTECTED] wrote: I would like to

Re: [R] lattice xyplot symbols instead of colors and legend matching plot symbols or colors

2008-09-24 Thread Deepayan Sarkar
On Wed, Sep 24, 2008 at 12:30 PM, stephen sefick [EMAIL PROTECTED] wrote: Deepayan I believe that I am dense- I am still having a problem getting it working. I can not figure out how to use packet.number. Something like (untested) panel=function(...){ panel.xyplot(...)

Re: [R] lattice xyplot symbols instead of colors and legend matching plot symbols or colors

2008-09-24 Thread stephen sefick
thanks man my head hurts- that is pretty simple. I was trying to will it done, which seems not to work. On Wed, Sep 24, 2008 at 3:38 PM, Deepayan Sarkar [EMAIL PROTECTED] wrote: On Wed, Sep 24, 2008 at 12:30 PM, stephen sefick [EMAIL PROTECTED] wrote: Deepayan I believe that I am dense- I am