[R] Axis break with gap.plot()

David Winsemius dwinsemius at comcast.net
Mon Sep 13 16:57:13 CEST 2010


On Sep 13, 2010, at 10:34 AM, Filoche wrote:

>
> Hi again everyone.
>
> Anyone know if there's any limitation with gap.plot concerning the  
> fill
> color of plotted markers? I would like to fill the circles with a  
> color :
>
> library(plotrix);
> gap.plot(c(1,2,3,4,10), c(1,2,3,4,10), c(5,9), pch = 21, col = "red");
>
> However, it only change the color of the line.  I tried "bgcol" and  
> some
> argument but without success.

Change pch to 19. (=solid circle)

>
> With regards,
> Phil
>
>
> -- 
> View this message in context: http://r.789695.n4.nabble.com/Axis-break-with-gap-plot-tp2533027p2537540.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list