You have not called legend() in your codes below, so we do not know what
your problem is. See other comments below.
On Mon, 2004-11-15 at 01:08, Sean David Richards wrote:
R : Version 1.9.1
Hi,
Am having trouble adding a legend to scatterplot. R code is shown below.
I have tried various
Sorry typo. The last line should read
legend(1500, 9000, legend=paste(Data from, sfiles), pch=1:n, col=1:n )
^^^
On Mon, 2004-11-15 at 11:39, Adaikalavan Ramasamy wrote:
You have not called legend() in your codes below, so we do
On 15 Nov 2004 at 12:11, Adaikalavan Ramasamy wrote:
Have you considered points() or lines() here ? You could simplify
to
plot(0,1000, type=n, xlim=c(0,1500), ylim=c(1000,9000),
xlab=Area above Notch (mm), main=Size Effect Speciments)
n - length(sfiles)
for (i in 1:n) {
R : Version 1.9.1
Hi,
Am having trouble adding a legend to scatterplot. R code is shown below.
I have tried various incantations to add a legend (using the legend()
function) to the resulting plot but without any success. Looks like it
should be simple but I must be missing something. Any