Skip to content
Prev 196140 / 398500 Next

graphics

Here is another way of creating the legend using layout

layout(cbind(1,2), width=c(7,1))
plot(1:10,1:10)
# now create legend
old.par <- par(mar=c(3, 0, 3, 0))
plot.new()
legend('left', legend=c('line 1', 'line 2'))
par(old.par)



On Wed, Oct 7, 2009 at 2:01 PM, McDonald, Grant
<grant.mcdonald08 at imperial.ac.uk> wrote: