Re: [R] Lattice symbol size and legend margins

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 25 Aug 2006 - 03:05:32 EST

Try par.settings=
You can find examples via:

    RSiteSearch("par.settings") .

On 8/24/06, Gattuso, Jean-Pierre <gattuso2@obs-vlfr.fr> wrote:
> Hi:
>
> I am using the following command:
>
> xyplot(dat6$CO3*1e6 ~ dat6$irradiance, data=dat6, group=ref,
> xlab=list(label=expression(paste("Irradiance (", mu, "mol photons",
> m^"-2", " ", s^"-1", ")")), cex=1.3),
> ylab=list(label=expression(paste("Carbonate concentration (x ", 10^"6",
> " ", kg^"-1", ")")) , cex=1.3),
> scales = list(x = list(cex=1.1), y = list(cex=1.1)),
> type="p",
> trellis.par.set(plot.symbol = list(cex=2)),
> layout=c(1, 1),
> aspect=1,
> auto.key = list(cex=1.2, between=4, space="right", border=T)
> )
>
> And get the following error:
>
> Error in multiple && !outer : invalid 'x' type in 'x && y'
>
> I know it comes from the trellis.par.set command: I am unable to find
> the right syntax.
>
> A second question: I am adjusting the left and right margins between the
> text of the legend and the border using "between". How can I control the
> top and bottom margins?
>
> Thanks,
>
> Jean-Pierre Gattuso
>
> ______________________________________________
> 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 Fri Aug 25 03:42: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 Fri 25 Aug 2006 - 04:28:44 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.