Skip to content
Back to formatted view

Raw Message

Message-ID: <49F60455.60704@zoo.ufl.edu>
Date: 2009-04-27T19:15:33Z
From: John Poulsen
Subject: Changing color of points in violin plot

Hello,

I am trying to graph a violin plot like the example in 
panel.violin(lattice) with the singer data - see below

Does anyone know how to change the color of the boxplot on the graph 
from blue to green?  I tried a number of changes, but to no avail.

Thanks for your help,
John



bwplot(voice.part ~ height, singer,
            panel = function(..., box.ratio) {
                    panel.violin(..., col = "transparent",
                                      varwidth = FALSE, box.ratio = 
box.ratio)
                    panel.bwplot(..., fill = NULL, box.ratio = .1)
             } )