Re: [R] ggplot2-theme(panel.border)

2016-03-02 Thread Aashish Jain
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  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@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]]

__
R-help@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.

[R] ggplot2-theme(panel.border)

2016-03-01 Thread Hoji, Akihiko
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@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.