Skip to content
Back to formatted view

Raw Message

Message-ID: <XFMail.060204194749.Ted.Harding@nessie.mcc.ac.uk>
Date: 2006-02-04T19:47:49Z
From: (Ted Harding)
Subject: Refreshing X11 plots

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.

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 at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 04-Feb-06                                       Time: 19:47:42
------------------------------ XFMail ------------------------------