[R] How to change parameters of Trellis-like graphs

baba@muj.biglobe.ne.jp baba at muj.biglobe.ne.jp
Fri Aug 16 14:57:37 CEST 2002

Dear R-lists

I have just upgraded the version 1.5.1 from 1.4.1 in my laptop PC,
because, I have to prepare graphs by using the grid and lattice packages. 
I tried it with 1.4.1, but I could not it. 
After upgrade to 1.5.1, I have finished it. 

Next, I tried to modify some graphs with as follows: 
#  setting color for graph
background <- trellis.par.get()
background$col <- "white"
background <- trellis.par.set("background",background)
dot.symbol <- trellis.par.get()
dot.symbol$col <- "yellow"
dot.symbol <- trellis.par.set("dot.symbol",dot.symbol)
First, I could change the background color from Gray to White. 
But, when the last code 'show.settings()' runs, R 1.5.1 have crushed on my laptop. 
I have no idea such how to change the dot color of graphs.
Does anyone tell me how to change the graph parameters?

Thanks in advance,

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list