>-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Ott Toomet >Sent: Friday, March 21, 2003 8:44 AM >To: [EMAIL PROTECTED] >Subject: [R] barplot legend size > > >Dear R-people, > >are there any way to change the size of legend in barplot? I >have tried various versions of cex, both as par(cex.*= ) and >barplot(..., cex.*= ). So long without success. > >Sincerely, > >Ott
Ott, When you say the size of the legend I presume that you mean the text within the legend given that you are trying to use par("cex"). Instead of creating the legend within the barplot() call (ie. barplot(...., legend = ....) ), remove the 'legend' argument and call legend() after the barplot call with your legend specifications. See ?legend, which provides additional formatting flexibility, including position, text size and spacing options among others. HTH, Marc Schwartz ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help