Hi Jay,<br><br><br><blockquote style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">Anyway, not sure if IJ2 is the place for this kind of development, but it is an intriguing possibility.</span><br>

<span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"></span></blockquote><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><br>

</span>I think IJ2 is the perfect opportunity for the types of functionality you describe. We just haven&#39;t had time to add it yet. Like I said, we want to have a plotting API whose data structures are not tied to any particular user interface. We have a general-purpose Display framework for this already, and work continues to improve it for beta2. Adding the plotting structures is a matter of defining a few new classes for it, and implementing the Swing-specific UI frontend that responds to display events when they are broadcast.<br>

<br>If you have some time and would like to get involved in the development, let me know, and perhaps we could have a Skype chat about it. Otherwise, we will have more for you to try by beta2 or beta3.<br><br>Regards,<br>

Curtis<br><br><br><div class="gmail_quote">On Tue, Apr 10, 2012 at 2:50 PM, Unruh, Jay <span dir="ltr">&lt;<a href="mailto:jru@stowers.org">jru@stowers.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">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.<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Jay<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:ctrueden.wisc@gmail.com" target="_blank">ctrueden.wisc@gmail.com</a> [mailto:<a href="mailto:ctrueden.wisc@gmail.com" target="_blank">ctrueden.wisc@gmail.com</a>] <b>On Behalf Of </b>Curtis Rueden<br>

<b>Sent:</b> Tuesday, April 10, 2012 1:52 PM<br><b>To:</b> Unruh, Jay<br><b>Cc:</b> <a href="mailto:imagej-devel@imagej.net" target="_blank">imagej-devel@imagej.net</a>; Grant Harris<br><b>Subject:</b> Re: [ImageJ-devel] plot window support<u></u><u></u></span></p>

<div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hi Jay,<br><br>On Tue, Apr 10, 2012 at 10:28 AM, Unruh, Jay &lt;<a href="mailto:jru@stowers.org" target="_blank">jru@stowers.org</a>&gt; wrote:<u></u><u></u></p>

<p class="MsoNormal">Firstly, is there a good way to search this list (other than downloading all of the text)?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Unfortunately, the only way to do this is using a search engine such as Google.<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">That is, searching with the &quot;site:&quot; keyword; e.g.:<u></u><u></u></p><p class="MsoNormal">    site:<a href="http://imagej.net/pipermail/imagej-devel" target="_blank">http://imagej.net/pipermail/imagej-devel</a> legacy<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Unfortunately, the Google index is more than a month behind the latest messages.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">
For more information, see:<u></u><u></u></p>
<p class="MsoNormal">    <a href="http://wiki.list.org/pages/viewpage.action?pageId=4030520" target="_blank">http://wiki.list.org/pages/viewpage.action?pageId=4030520</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal">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.<u></u><u></u></p>

</blockquote><p class="MsoNormal" style="margin-bottom:12.0pt"><br>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.<br>

<br>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.<br><br>

-Curtis<br><br><u></u><u></u></p><div><p class="MsoNormal">On Tue, Apr 10, 2012 at 1:17 PM, Grant B. Harris &lt;<a href="mailto:gharris@mbl.edu" target="_blank">gharris@mbl.edu</a>&gt; wrote:<u></u><u></u></p><p class="MsoNormal">

Jay --<br>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&#39;d be interested to follow how you might use it and to he of help, if I can.<br>

-- Grant<u></u><u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Tue, Apr 10, 2012 at 10:28 AM, Unruh, Jay &lt;<a href="mailto:jru@stowers.org" target="_blank">jru@stowers.org</a>&gt; wrote:<u></u><u></u></p>

<div><div><p class="MsoNormal">Firstly, congrats on the beta release.<u></u><u></u></p><p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">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.<u></u><u></u></p>

<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal">Jay<u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></div></div>

</blockquote></div><br>