I have a problem with the external legend of a plot: here's the code:
x1<-read.csv("C:\\Users\\...\\x1.csv",sep=";")
plot(b~obs,data=x1,xlab="Observations",ylab="values", xlim=c(1,13), ylim=c(1,13),pch=1,cex=1)
points(x1$a,pch=20,cex=1)
For the legend I've tried this:
legend( x=15,y=10, xpd=TRUE, xjust=0, yjust=.5,
legend=c("w/o FU", "w FU"),
pch=c(1,20),cex=1)
and this:
legend( x="topleft",inset=c(1,0), xpd=TRUE,bty="n",
legend=c("w/o FU", "w FU"),
pch=c(1,20),cex=1)
The legend is hidded and I can't view it nor zooming neither expanding the window.
How can I fix it
Thank you!