Re: [R] Plot Accessibility

2008-09-20 Thread Jim Lemon
john crepezzi wrote: Is there any way to determine if a plot exists before running lines()? Hi John, I use : if(dev.cur()==1) which usually indicates that the current device is the null device, and therefore no plot windows are active. See the code for triax.plot. Jim _

[R] Plot Accessibility

2008-09-19 Thread john crepezzi
I'm not so sure the original way I stated my issue was clear enough, so I'll attempt to elaborate a little bit. I'd like to make a function that is passed the name of a plot object, and a lines/point specification, and graphs them all on the same plot. I don't want to redraw the plot each time,