Displaying 2 results from an estimated 2 matches for "lipid_adj_lpcb2_cent".
2006 Jan 11
1
4 smoothed lines on xyplot
...when I try to use a white
background the lines change to dots and dashs. When I don't use a white
background it seems to use the solid colors lines.
plotchar <- c(3, 4 ,1 ,2 )
colr<- c(?green?, ?blue? , ?red?, ?black?)
library(lattice)
trellis.par.set(col.whitebg() )
xyplot(AWGT ~ lipid_adj_lpcb2_cent, groups=grpx, data=pcb_graph3,
auto.key=TRUE, col=colr,
pch=plotchar, type=c(?1?, ?smooth?), span=.8,
key=list(x=.14, y=.84,
points=list(col=colr, pch=plotchar),
lines=list(col=colr, pch=plotchar),
text=list(levels(pcb_graph3$grpx) , col=colr, pch=plotchar)))
--
Dean Sonneborn, MS
Programm...
2006 Jan 26
2
footnote in postscript lattice
...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)),...