_ <Cyrix333 <at> gmx.net> writes: > after choosen the plot in witch I want to draw a point, just the first > plot draws the point > Is it a bug or just a user-problem ? > > Example : > split.screen(c(2,1)) > screen(1) > plot(1:10) > screen(2) > plot(10:100) > > screen(n=1, new=F) > points(4,3, col="red") > screen(n=2, new=F) > points(20,20, col="red") > > screen(n=1, new=F) > points(6,6, col="red") > screen(n=2, new=F) > points(80,80, col="red") >
It is an unpredictability: Warnings The recommended way to use these functions is to completely draw a plot and all additions (i.e. points and lines) to the base plot, prior to selecting and plotting on another screen. The behavior associated with returning to a screen to add to an existing plot is unpredictable and may result in problems that are not readily visible. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.