Hello! 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? Thanks Dipl.-Kfm. Andreas Lackner Universität Göttingen Institut für Wirtschaftsinformatik, Abtl. I Prof. Dr. Jörg Biethahn Platz der Göttinger Sieben 5 37073 Göttingen Zimmer: 1709, Spr.-Std: Di. 10-11 Tel: (0551) 39-8415 Fax: (0551) 39-9679 URL: http://www.wi1.wiso.uni-goettingen.de/mm/alackne/index.htm [[alternative HTML version deleted]]
On Sun, 2003-11-16 at 12:42, Andreas Lackner wrote:> Hello!> 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? > > ThanksYes...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. HTH, Marc Schwartz