[ImageJ-devel] plot window support
Unruh, Jay
jru at stowers.org
Tue Apr 10 14:50:55 CDT 2012
So if there is no intrinsic plotting utility, is there any way to access plots (or their data) from macros or plugins? That is perhaps my main complaint about using JFreeChart (that and no log axes for some reason). I currently use my own version of Wayne's PlotWindow which I then access from other plugins via reflection (not the best way, I know). Wayne doesn't want to support it because of lack of backward function compatibility, but perhaps IJ2 is an opportunity to implement this in a more robust manner. This approach has been very rewarding. For example, I can do some really cool things like create dynamic histograms where I can change the bin size on the fly, visualize thresholds via a 1D or 2D histogram, etc. It becomes easy to implement some of the gating that people use for cytometry analysis for example. Anyway, not sure if IJ2 is the place for this kind of development, but it is an intriguing possibility.
Jay
From: ctrueden.wisc at gmail.com [mailto:ctrueden.wisc at gmail.com] On Behalf Of Curtis Rueden
Sent: Tuesday, April 10, 2012 1:52 PM
To: Unruh, Jay
Cc: imagej-devel at imagej.net; Grant Harris
Subject: Re: [ImageJ-devel] plot window support
Hi Jay,
On Tue, Apr 10, 2012 at 10:28 AM, Unruh, Jay <jru at stowers.org<mailto:jru at stowers.org>> wrote:
Firstly, is there a good way to search this list (other than downloading all of the text)?
Unfortunately, the only way to do this is using a search engine such as Google.
That is, searching with the "site:" keyword; e.g.:
site:http://imagej.net/pipermail/imagej-devel legacy
Unfortunately, the Google index is more than a month behind the latest messages.
For more information, see:
http://wiki.list.org/pages/viewpage.action?pageId=4030520
Secondly, (and I would know this if I could search the list) has there been any discussion of plot window support in ImageJ2? The beta version I downloaded as is doesn't support it-perhaps because it relies on an awt panel within the imagewindow frame, but perhaps there is awt support somewhere that I'm not seeing.
There are plans to create a UI-agnostic plotting system, which will be driven by JFreeChart for the Swing UI, but pluggable differently for other UIs.
However, you is correct that at the moment, there is essentially no facility for plotting, other than legacy support for IJ1 plugins, which is limited and sometimes non-functional for custom AWT-based windows.
-Curtis
On Tue, Apr 10, 2012 at 1:17 PM, Grant B. Harris <gharris at mbl.edu<mailto:gharris at mbl.edu>> wrote:
Jay --
The Analyse::Histogram plugin uses JFreeChart (I wrote an earlier version of it.) You might have a look at that to see how you might use it in a plugin. I believe it is our intention to use JFreeChart as the default plotting system for the Swing-based implementation (But I may be corrected on this by people still more involved in the design ;-) I'd be interested to follow how you might use it and to he of help, if I can.
-- Grant
On Tue, Apr 10, 2012 at 10:28 AM, Unruh, Jay <jru at stowers.org<mailto:jru at stowers.org>> wrote:
Firstly, congrats on the beta release.
Several questions after my first download: Firstly, is there a good way to search this list (other than downloading all of the text)? Secondly, (and I would know this if I could search the list) has there been any discussion of plot window support in ImageJ2? The beta version I downloaded as is doesn't support it-perhaps because it relies on an awt panel within the imagewindow frame, but perhaps there is awt support somewhere that I'm not seeing.
Thanks,
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-devel/attachments/20120410/2b4190a6/attachment.html>
More information about the ImageJ-devel
mailing list