Re: [R] Lattice box percentile plot

2008-05-20 Thread Mr Derik
Hello Thanks for your attempted help. I have just worked out how to do it. You take the code for panel.bpplot and near the top of the code replace lline with lpolygon. Then it take the $fill paramiter from the trellis settings. Seems to work, though I need to check it isn't doing something wierd

Re: [R] Lattice box percentile plot

2008-05-16 Thread Yasir Kaheil
it's a good question.. my guess is using "panel.bpplot" prevents filling in the shape "the coffins"- since the box is now two mirrored graphs. i hope i'm wrong. trellis.par.get() br = trellis.par.get("box.rectangle") br$col = "black" br$fill = "lightblue" #this is the parameter that fills in

[R] Lattice box percentile plot

2008-05-16 Thread Mr Derik
Dear Nabble. I am trying to draw a box percentile plot with trellis using the panel in Hmisc. I really want to colour the plots in. I can alter several of features of the plot by changing the trellis par settings but I just can’t fill the shape in. Here is some example code which alters line c