[R] GGPLOT Clipping Regions

Alex Brown alex at transitive.com
Thu Jul 16 17:41:22 CEST 2009


Hi there,

	I'm trying to find out the command to stop clipping to plot region in  
ggplot.

	I have a bar chart (axis flipped) with labels on the bars, but the  
labels are clipped at the plot region box.

	I know it's possible to turn this off for base and lattice, but how  
about ggplot?

	par(xpd=NA)

	The ggplot2 manual doesn't seem to mention it, and a search for  
ggplot and clip on this list hasn't yielded anything.

	It's possible this is obvious if you understand grid?

-Alex




More information about the R-help mailing list