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
ggplot2-theme(panel.border)
2 messages · Hoji, Akihiko, 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 <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.