[R] How to adjust legend in a plot?

John Kane jrkrideau at inbox.com
Fri Aug 3 16:54:57 CEST 2012


Just move the legend. Change topright to x = ? y = ? whatever to find an empty place on the plot.

John Kane
Kingston ON Canada


> -----Original Message-----
> From: mandecent.gupta at gmail.com
> Sent: Fri, 3 Aug 2012 00:17:38 -0700 (PDT)
> To: r-help at r-project.org
> Subject: Re: [R] How to adjust legend in a plot?
> 
> I cannot  reduce bar width. It is ok for me. Is there any way to merge
> two
> plots one with only legend and other with barplot?
> 
> Regards
> 
> 
> 
> --
> View this message in context:
> http://r.789695.n4.nabble.com/How-to-adjust-legend-in-a-plot-tp4638995p4639011.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.

____________________________________________________________
FREE ONLINE PHOTOSHARING - Share your photos online with your friends and family!
Visit http://www.inbox.com/photosharing to find out more!



More information about the R-help mailing list