How can I get slightly darker gridlines for theme_bw()
in ggplot2?
I have seen some some answers, but most are too complicated using theme()
.
Is there a easier way?
corr.plot.contour(data=foo1,x='log(area)',y='log(fd)',xl='Basa(log)',yl='Flo'+stat_smooth(method="lm",formula=y~x)+theme_bw()+ggsave("xyz.png")
From beetroot's comments.
corr.plot.contour(data = foo1, x = 'log(area)', y = 'log(fd)',
xl = 'Basa(log)', yl = 'Flo' +
stat_smooth(method = "lm", formula = y~x) +
theme_bw() +
theme(panel.grid.major = element_line(colour = "#808080")) +
ggsave("xyz.png")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With