Displaying 1 result from an estimated 1 matches for "spread_data".
Did you mean:
pread_data
2011 Mar 24
1
Colour makes my life; but not my bwplot (panel.violin)
...umber of panels (25) in which I
have two box and violin plots.
I would like to colour - one plot as RED and the other as BLUE (in each
panel). I can do that with the box plots, but the violin density areas just
take on one colour.
My basic call is as follows:
bwplot(rmsd ~ file | code,
data=spread_data.filtered,
panel = function(..., box.ratio){
panel.violin(..., col = c("red", "blue"), cut = 1, varwidth = FALSE,
box.ratio = box.ratio)
panel.bwplot(..., fill = c("red", "blue"), box.ratio = .1, pch="|")
},
par.settings =...