[R] different colors in a segplot centers (package latticeExtra)

Deepayan Sarkar deepayan.sarkar at r-project.org
Mon Apr 18 12:00:22 CEST 2011


On Mon, Apr 18, 2011 at 4:10 AM, barbara costa <rbarbarahc at gmail.com> wrote:
> Hi,
> how can I change colors in the centers of my segplot?
> I'm not interested in coloring the lines (Standard error limits) but the
> centers (means)?
>  here's my code:
>
>
> segplot(reorder(factor(Species), MeanBiom)  ~ MinSEBiom + MaxSEBiom ,
> data=dfRatioAftBefBiom, draw.bands = FALSE, centers = MeanBiom,
> col=as.numeric (Commercial.Value))

Try 'col.symbol' instead of 'col'.

-Deepayan



More information about the R-help mailing list