I have this sample from help. I try use command erase.screen() but in split mode sreen dont erase. Why? split.screen(c(2,1)) # split display into two screens split.screen(c(1,2),2) # split bottom half in two plot(1:10) # screen 3 is active, draw plot erase.screen() # forgot label, erase and redraw IN THIS PLACE SCREEN DONT ERASE plot(1:10, ylab= "ylab 3") IN THIS PLACE COMMAND PLOT ON TOP screen(1) # prepare screen 1 for output
Darius Kasiulevi?ius wrote:> > I have this sample from help. I try use command erase.screen() but in > split mode sreen dont erase. Why? > >Not a bug. From the documentation: 'erase.screen' will appear not to work if the background colour is transparent (as it is by default on most devices). So make sure to specify par(bg="white") first, as in the example given in the documentation ... Ben Bolker -- View this message in context: http://www.nabble.com/Bug-or-not-tf4580966.html#a13098413 Sent from the R help mailing list archive at Nabble.com.