[R] plot points using circles filled half in red and half in blue.

Gabor Grothendieck ggrothendieck at gmail.com
Wed Mar 28 13:28:17 CEST 2012


On Tue, Mar 27, 2012 at 10:49 PM, alan <alan.wu2007 at gmail.com> wrote:
> I want to plot many points and want to use circles. The filling color
> depends on variable a. if a=1, then not fill
> if a=2 then fill with red, if a=3 then fill with blue, if a=4, fill
> half with red and half with blue. Can anyone tell me how to plot the
> case "a=4"? Thanks a lot
>

There is an example in the vignette that comes with the gridBase
package of having a pie chart for each point.

-- 
Statistics & Software Consulting
GKX Group, GKX Associates Inc.
tel: 1-877-GKX-GROUP
email: ggrothendieck at gmail.com



More information about the R-help mailing list