From deepayan.sarkar at gmail.com  Thu Nov 20 06:30:07 2008
From: deepayan.sarkar at gmail.com (Deepayan Sarkar)
Date: Wed, 19 Nov 2008 21:30:07 -0800
Subject: [Rd] Buggy trellis.focus() with xyplot ?
In-Reply-To: <332394640811191835s2570f901pe179ceacbec7bbef@mail.gmail.com>
References: <332394640811190855x61d7e18bice50937205d27c68@mail.gmail.com>
	<eb555e660811191733t707d52f3m6eb7f5985d6c8c11@mail.gmail.com>
	<94730b8a0811191810p1c1f5108x61fa899db1f9c8ef@mail.gmail.com>
	<332394640811191835s2570f901pe179ceacbec7bbef@mail.gmail.com>
Message-ID: <eb555e660811192130h24372928rb7bd0daabb596fbf@mail.gmail.com>

On 11/19/08, Daniel Kornhauser <dkor at northwestern.edu> wrote:
> Thanks a lot for taking this on guys !
>
>  Some more background in case you are interested:
>
> I have almost a working version of focus for selecting a panel with mouse
> over in a stanalone Java application using an REngine I only have two
> issues:
>
> - trellis.unfocus() is terribly slow in a plot of 10 x 10 panels, it takes
> 1.5 seconds to unfocus, do you know any way to speed it up ?

Call as trellis.unfocus(highlight=FALSE). Unhighlighting essentially
redraws the whole thing (this would be true whenever any component is
removed, though adding is fine).

-Deepayan



[Rd] Buggy trellis.focus() with xyplot ?
Deepayan Sarkar