[R] legends on barplots

Karen Kotschy karen at ochna.wits.ac.za
Tue Aug 31 13:03:00 CEST 1999


Thanks to all those who offered suggestions on how to change the position
of legends on a barplot.

The best solution, I think, is to use legend() to add a legend to the
plot, and to use locator() as the first argument, instead of x and y. One
can then add the legend to the plot in the desired position by clicking
with the mouse.

Karen

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list