[R] GGPLOT Clipping Regions

hadley wickham h.wickham at gmail.com
Fri Jul 17 00:27:44 CEST 2009


Could you please give a reproducible example?
Thanks,
Hadley

On Thu, Jul 16, 2009 at 5:41 PM, Alex Brown<alex at transitive.com> wrote:
> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
>



-- 
http://had.co.nz/




More information about the R-help mailing list