Displaying 1 result from an estimated 1 matches for "no_margins".
2012 Feb 06
1
ggplot2 geom_polygon fill
...borders, but not always in the color
I defined. The attached image has such borders, to make clear what polygons
I am talking about. In the final plot I don't desire such borders, only the
as of yet unattainable fill.
Here's my code:
library(ggplot2)
library(plyr)
# define good looks
no_margins <- opts(
axis.line = theme_blank(),
axis.text.x = theme_blank(),
axis.ticks = theme_blank(),
axis.title.x = theme_text(size = 12, vjust = 0.15),
axis.title.y = theme_text(angle = 90, size = 12, vjust = 0.2),
axis.ticks.length = unit(0, "cm"),
axis.tic...