Legend placement in barplot?
At 13:24 2004-11-04 +0000, Dan Bolser wrote:
Check out gplots::smartlegend (in the R 2.0.0 gregmisc bundle).
This works great, but like the (smart)legend function, fill=true appears
to be giving me only black boxes.
Here is what I add..
smartlegend(x="left",y="top",
c("PDB","MSD"),
fill=TRUE,
col=c("red","blue")
)
For coloured boxes, use
smartlegend(x="left",
y="top",
c("PDB","MSD"),
fill=c("red","blue"))
HTH,
Henric