[GRASS-dev] New histogramming tool for GRASS 7
Martin Landa
landa.martin at gmail.com
Thu Sep 22 12:48:44 EDT 2011
2011/9/22 Michael Barton <Michael.Barton at asu.edu>:
> I'm not sure how you can get to histogram2 from anything other than the toolbar button menu. I've tried it from the image menu and from the original histogram toolbar button menu and get the original histogram tool. How else are you getting it to launch?
I meant that "Create histogram of raster map" (map display toolbar)
launched PyPlot-based histogramming tool. It has been fixed.
> Histogram2 shares virtually nothing with Histogram code-wise. It is a completely different kind of module. However it does share a significant fraction of code with profile.py (which I used as a starting point). I'm thinking about a scatterplot tool for image analysis too. All 3 would use PyPlot and could in theory share considerable chunks of code.
right, comparing code of histogram2.py and profile.py there is a
*significant* overlap. Abstract class for both ProfileFrame and
histogram2.HistFrame could significantly reduce the code and make it
much more easily to maintain.
Martin
--
Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa
More information about the grass-dev
mailing list