Login  Register

Re: Angular histogram plot

Posted by Tiago Ferreira-2 on Sep 15, 2016; 7:07pm
URL: http://imagej.273.s1.nabble.com/Angular-histogram-plot-tp5017183p5017191.html

Dear Philippe,

> Is there already a plugin doing such graphs and if not would there be a
> plugin that would be a good starting point for developing such a tool?

The BAR update site[1] has several scripts that use the jfreechart library[2] (bundled with Fiji) to perform advanced plotting from within ImageJ (see some examples here[3]).
I just uploaded a script[4] that allows you to create polar plots (XY lines plotted in polar coordinates - see this screenshot[5] to get an idea on how it looks like). Once you subscribe to the BAR update site, you will find it under "BAR>Data Analysis>Create Polar Plot." A cool feature of all these "BAR>Data Analysis>" commands is that they can read tabular values from multiple sources, not just the ImageJ Results table.

You could use it as a starting point for your polar histogram chart.
(It would be great if you could add such functionality to the existing script[6]).

Hope it helps,
-tiago

[1] http://imagej.net/BAR
[2] http://www.jfree.org/jfreechart/
[3] https://github.com/tferr/Scripts/tree/master/Data_Analysis#data-analysis
[4] https://github.com/tferr/Scripts/blob/master/Data_Analysis/Create_Polar_Plot.bsh
[5] https://cl.ly/401e0N1R292S/CreatePolarPlotScreenshot.png
[6] https://github.com/tferr/Scripts#help

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html