Re: [R] help with formatting legend in xyplot

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Thu 03 Aug 2006 - 08:16:52 EST

If you set it through par.settings then it will affect both the drawing and the legend:

xyplot(Sepal.Length ~ Petal.Length, iris, groups = Species, auto.key = TRUE,

   par.settings = list(superpose.symbol = list(pch = "*", cex = 1)))

On 8/2/06, Kaushik Katari <Kaushik.Katari@signaldemand.com> wrote:
> I am doing a xyplot: (x~y, groups = z, pch=8, auto.key=T). This changes
> the symbol in the graph to an asterisk (*), but not in the legend, which
> is still an open circle. I have found out how to manipulate the position
> and the color of the letters in the legend, but cannot change the legend
> symbol to match the symbol in the graph. Could you help?
>
>
>
> Thanks,
>
> Kaushik
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu Aug 03 11:41:55 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 03 Aug 2006 - 14:20:05 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.