[R] problem with plot style (pch) with lattice in legend
Felix Andrews
felix at nfrac.org
Tue Nov 4 08:56:27 CET 2008
instead of pch = 20, try
par.settings = simpleTheme(pch = 20)
2008/11/4 PALMIER Patrick - CETE NP/INFRA/TRF
<Patrick.Palmier at developpement-durable.gouv.fr>:
> Hello,
>
>
> I'm doing xyplot(s) with groups using the following code and "lattice"
> package
>
> xyplot(V8 ~ V7 | cut(V17,c(0,10,20,100),include.lowest=T
> )+cut(V18,c(0,10,20,100),include.lowest=T ),
> pch=20,groups=as.array(c("HPM","HPS","HCJ","HCN")[V19]),data=A1,auto.key=list(space="bottom",pch=20,points=T))
>
> The plots are corresponding to what I want except the legend with
> auto.key where the pch=20 option is taken into account
>
> What I should do to have pch=20 in the plot and in the legend
>
> Thanks
>
>
> --
>
> *Patrick PALMIER**
> **Centre d'Études Techniques de l'Équipement Nord - Picardie
> Département Infrastructures
> */*Trafic – Socio-économie
> */
>
>
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org 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.
>
>
--
Felix Andrews / 安福立
http://www.neurofractal.org/felix/
3358 543D AAC6 22C2 D336 80D9 360B 72DD 3E4C F5D8
More information about the R-help
mailing list