Simple plots do not product the intended figures.
As an example I use the following code from a previous post:
library(ggplot2)
a <- seq(1,20)
b <- a^0.25
df <- data.frame(cbind(a,b))
ggplot(df, aes(x = a, y = b)) + geom_point() +
theme_bw() +
theme(axis.line = element_line(colour = "black"),
panel.grid.major = element_blank(),
panel.grid.minor = element_blank(),
panel.border = element_blank(),
panel.background = element_blank())
This should produce:
but produces:
How to find reasons for gglopt2 not producing the intended plots?
Version of ggplot:
> packageVersion("ggplot2")
[1] ‘2.1.0’
Version of R:
> version
_
platform x86_64-w64-mingw32
arch x86_64
os mingw32
system x86_64, mingw32
status
major 3
minor 2.1
year 2015
month 06
day 18
svn rev 68531
language R
version.string R version 3.2.1 (2015-06-18)
nickname World-Famous Astronaut