[R] Legend placement in barplot?

Dan Bolser dmb at mrc-dunn.cam.ac.uk
Wed Nov 3 16:55:23 CET 2004


This has been asked before, but all the answers are hidiously complex.

The

legend.text=TRUE 

option of barplot is almost exactly what I need, except I need a

legend.placement='tl'

(top left) option. This option would be in contrast to the default
placement which we could call 'tr' (top right).

Anyone know how to edit the barplot code to make this change? Could
someone like me work out how to do this?

Cheers,
Dan.




More information about the R-help mailing list