Re: [R] footnote in postscript lattice

From: Francisco J. Zagmutt <gerifalte28_at_hotmail.com>
Date: Fri 27 Jan 2006 - 11:16:10 EST


After you create your xyplot use
library(grid)
panel.text(grid.locator(),label="My label")

Cheers

Francisco

PS: How is good ol' David these days?

>From: Dean Sonneborn <dsonneborn@ucdavis.edu>
>To: r-help@stat.math.ethz.ch
>Subject: [R] footnote in postscript lattice
>Date: Thu, 26 Jan 2006 15:46:28 -0800
>
>I would like to add a footnote to this graph but do not see a "footnote"
>command in the package:lattice documentation. I would like to note the
>"span=.8"
> as the footnote.
>
>postscript(file= ”C:/Documents and Settings/dsonneborn/My
>Documents/Slovak/output/pcb_tables/smooth_PCB_lines_four.ps”,
>bg=”transparent”, onefile=FALSE, pointsize=20,paper=”letter”,
>horizontal=TRUE, family=”Helvetica”,font=”Helvetica”)
>
>xyplot(AWGT ~ lipid_adj_lpcb2_cent | malex*romanix, data=pcb_graph3,
>
> auto.key = list(lines = TRUE, points = TRUE), ylab=”Birth Weight”,
>xlab=”Lipid Adjusted PCB”,
>
> par.settings =
>
> list(superpose.symbol = list(col = colr, pch = plotchar),
>
> superpose.line = list(col = colr, pch = plotchar, lty = 1)),
>
> type=c("p", "smooth"), span=.8)
>
>dev.off()
>thanks
>
>--
>Dean Sonneborn, MS
>Programmer Analyst
>Department of Public Health Sciences
>University of California, Davis
>(530) 754-9516
>
>______________________________________________
>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



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 Received on Fri Jan 27 11:26:06 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:14 EST