[R] ggplot2-theme(panel.border)

Aashish Jain aajains at gmail.com
Tue Mar 1 23:07:01 CET 2016


You can write "fill = NA" in the argument of element_rect(), that should
solve your problem.

On Tue, Mar 1, 2016 at 3:46 PM, Hoji, Akihiko <akh22 at pitt.edu> wrote:

> A quick question.  How come data points disappear when
> “theme(panel.border=element_rect()) is used and how could I get those
> points back on the plot ?
>
> Thanks in advance.
>
> AH
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list