[R] line colors in lattice.xyplot with png device.

Marc Mamin M.Mamin at intershop.de
Thu Jul 17 13:50:29 CEST 2003


Hi,

R is very new for me, so excuse if my questions are too basic...

	BTW, are there any forum  where new R users could get help without 
	annoying this huge mailing list ?
	
	
In following code, I'd like to choose the color for each of the curve
diplayed.

png(filename = filename, width = 950, height = 600, pointsize = 10,  bg =
"white")
xyplot(HITS+MS1*3+FREQ~TIME   |SERVER*LOCAL, data=myd,allow.multiple = TRUE,
scales = "same", type="l")
dev.off()

another problem is that I don't get a white backgroud, which is quite
problematic when printing the output.
(I works on WIN2K)


and last but not least, is there a way to use 2 different y axis, i.e. curve
1& 2 => left axis, curve 3 => right axis ?


Sample codes would be welcome as I'm not yet used with the R syntax


Thanks,

Marc Mamin




More information about the R-help mailing list