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