Displaying 1 result from an estimated 1 matches for "plaatsen".
Did you mean:
laatzen
2005 Nov 21
1
Howto? plot legend with no line behind the points
...ot;b",...)
The lines in the plot do not cross the points. How can we obtain the
same effect in the legend? (points without a line through them..)
We tried setting the pt.bg to white but this did not help.
See script below.
thanks,
Jan
par(mar=c(5,5,2,4) +.1) # dit om extra text in Y-as te plaatsen
plot(ts.X, type="b", col=1, pch=19,ylim=c(-0.4,0.2),ylab=c("X"))
legend.txt <- c("X","Y")
# Define how the legend looks like, place it on the right location
legend("topright", legend.txt,col=1,lty=1, pch=c(19,1),bty="n", pt....