[R] multiple lty on same panel in xyplot

2009-08-05 Thread Jacob Wegelin
I would like to use lattice graphics to plot multiple functions (or groups or subpopulations) on the same plot region, using different line types "lty" or colors "col" to distinguish the functions (or groups). In traditional graphics, this seems straightforward: First plot all the data using 'type

Re: [R] multiple lty on same panel in xyplot

2009-08-05 Thread Jacob Wegelin
On Wed, Aug 5, 2009 at 1:30 PM, Jacob Wegelin wrote: > I would like to use lattice graphics to plot multiple functions (or groups > or subpopulations) on the same plot region, using different line types "lty" > or colors "col" to distinguish the functions (or groups). > > In traditional graphics,

Re: [R] multiple lty on same panel in xyplot

2009-08-05 Thread Deepayan Sarkar
On 8/5/09, Jacob Wegelin wrote: > I would like to use lattice graphics to plot multiple functions (or groups > or subpopulations) on the same plot region, using different line types "lty" > or colors "col" to distinguish the functions (or groups). > > In traditional graphics, this seems straigh

Re: [R] multiple lty on same panel in xyplot

2009-08-05 Thread Jacob Wegelin
On Wed, 5 Aug 2009, Deepayan Sarkar wrote: > On 8/5/09, Jacob Wegelin wrote: >> I would like to use lattice graphics to plot multiple functions (or groups >> or subpopulations) on the same plot region, using different line types "lty" >> or colors "col" to distinguish the functions (or groups).

Re: [R] multiple lty on same panel in xyplot

2009-08-05 Thread Deepayan Sarkar
On Wed, Aug 5, 2009 at 2:24 PM, Jacob Wegelin wrote: > On Wed, 5 Aug 2009, Deepayan Sarkar wrote: > >> On 8/5/09, Jacob Wegelin wrote: >>> I would like to use lattice graphics to plot multiple functions (or > groups >>>  or subpopulations) on the same plot region, using different line types > "lty

Re: [R] multiple lty on same panel in xyplot

2009-08-06 Thread Patrick Connolly
On Wed, 05-Aug-2009 at 05:24PM -0400, Jacob Wegelin wrote: |> |> Dear Bill and Deepayan, |> |> Thanks. This is helpful. Where can one find a thorough |> documentation of all these features like par.settings, simpleTheme, |> the options for where to place the legend or "key", auto.key, the |> di

Re: [R] multiple lty on same panel in xyplot

2009-08-07 Thread Duncan Mackay
Hi RUsers I like to keep the plots self contained and avoid changing the current device parameters by using the par.settings. To see what I could achieve by using par settings I tried the following and several variants but could not get black points. xyplot(yM + yF ~ x, panel = panel.

Re: [R] multiple lty on same panel in xyplot

2009-08-08 Thread Duncan Mackay
Hi Jake the pset is the same as that of Deepayan Sarkar's. I must not have copied all the code as I thought and did not see that there was no pset Basically I am trying to keep everything contained within the xyplot and avoid changing the device settings. I frequently use par.settings = list( .

Re: [R] multiple lty on same panel in xyplot

2009-08-09 Thread Deepayan Sarkar
On 8/7/09, Duncan Mackay wrote: > Hi RUsers > > I like to keep the plots self contained and avoid changing the current > device parameters by using the par.settings. > To see what I could achieve by using par settings I tried the following and > several variants but could not get black points. >

Re: [R] multiple lty on same panel in xyplot

2009-08-09 Thread Duncan Mackay
Hi Deepayan Thank you very much for pointing out my mistake. I had another go now with superpose.symbol and with several other combinations to see what could be done. All went well. Regards Duncan Mackay At 13:19 10/08/2009, you wrote: On 8/7/09, Duncan Mackay wrote: > Hi RUsers > > I l