Skip to content
Prev 285027 / 398502 Next

how to plot a nice legend?

Have a lookt at the package ggplot2

I believe it will give you something like the image you link to.

Simple example:
----------------------------------------------------------------------------------
library(ggplot2)
mydata <- data.frame(a=1:10, b=1:10, c=letters[1:10])
ggplot(mydata, aes(a,b, colour=c)) + geom_point()
----------------------------------------------------------------------------------


John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!