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

Deepayan Sarkar deepayan.sarkar at gmail.com
Wed Sep 24 20:56:04 CEST 2008

On Wed, Sep 24, 2008 at 10:15 AM, stephen sefick <ssefick at gmail.com> 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 ?simpleTheme

> add a regression line to these I know about the type="r" (which is
> fine for these particular graphs) argument, but it fits the subsets
> instead of the entire data set-- should I use a list of regression
> fits in the order of the arguments in an abline panel to do this?

See ?packet.number, or
for more general approaches.


More information about the R-help mailing list