Displaying 1 result from an estimated 1 matches for "grestorepars".
1997 Jul 29
0
R-alpha: more graphics: lwd, persistent lty settings
...ides).
I will try to work on this, but I wouldn't mind if someone got there
before me.
Also: the effects of setting lty are sometimes unnecessarily persistent
-- for example in the example below the box around the legend is drawn in
line type 2 (dashed) -- I would think that the GSavePars/GRestorePars
calls at the beginning and end of abline (in plot.c) ought to do the job,
but I haven't had time to go through it in detail ...
x _ (1:100)/10
plot(x,sin(x))
abline(h=0,lty=2)
legend(0,-0.1,"a",pch=1)
Benjamin Bolker Dep't of Ecology and Evolutionary Biology,
ben@eno....