Re: [R] Refreshing X11 plots

From: Ted Harding <Ted.Harding_at_nessie.mcc.ac.uk>
Date: Sun 05 Feb 2006 - 07:11:21 EST


Correction to description: see below.

On 04-Feb-06 Ted Harding wrote:
> Hi Folks,
>
> This question (or very similar) seems to have been
> asked before, acorsding to R Site Search:
>
> Timur Elzhov on June 23 2003
> David B. Dahl on March 01 2002
> (though the latter appears to have date April 10 2003 according
> to the search result, but the above is the archive date).
>
> Situation: I plot a lot of stuff in an X11 window (device #2),
> and then with X11() open a new X11 wibdow (device #3) and plot
> a lot of similar stuff. So, at this stage, device 3 is active.
>
> Now I move away from that screen (switching to a different
> "desktop"), to do something else; and when I move back to
> where I was the "active" display (#3) refreshes itself, but
> the "inactive" one (#2) is blank and I have found no trick to
> get it to refresh itself short of replaying all the commands
> needed to draw the plot in the first place.

In fact it is apparently the plot on device #2 (the first device opened) which refreshes itself, and the second plot (on device #3) which goes blank and stays blank, regardless of the order in which the plots are created and which device is currently active. Apologies!

> This is a similar issue to the one stated in the two mails referred
> to above, neither of which seems to have received an answer.
>
> Is there a way to refresh the plot without re-plotting it from
> scratch? (R on Linux with X11).
>
> With thanks, and best wishes to all,
> Ted.
>
> --------------------------------------------------------------------
> E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk>
> Fax-to-email: +44 (0)870 094 0861
> Date: 04-Feb-06 Time: 19:47:42
> ------------------------------ XFMail ------------------------------



E-Mail: (Ted Harding) <Ted.Harding@nessie.mcc.ac.uk> Fax-to-email: +44 (0)870 094 0861
Date: 04-Feb-06                                       Time: 20:11:18
------------------------------ XFMail ------------------------------

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Feb 05 07:19:00 2006

This archive was generated by hypermail 2.1.8 : Sun 05 Feb 2006 - 14:30:14 EST