[R] Legend position in barplots
MSchwartz at medanalytics.com
Sun Nov 16 19:57:57 CET 2003
On Sun, 2003-11-16 at 12:42, Andreas Lackner wrote:
> Is there a way to change the position of the legend created in a barplot
> from the right side of the plot to the left side or somewhere else?
Yes...instead of specifying 'legend.text' in barplot, use the legend()
function, which will enable you to specify the coordinates and other
details for the legend.
See ?legend for more information.
More information about the R-help