Some little details about the legend box etc:
When plotting several histograms into the same region (lets say 1D and with
line color black,red,blue) and then plotting the legend box, all linestyles
will be the last linestyle which was plotted, i.e. blue. This is due to the
addLegend function in IInfo. Actually, python will only store a reference
to the style and not the style itself. So it will always point to the same
(last) linestyle. I do not know any elegant way to cure that. Anyway, creating
a new empty linestyle and then copying the color and addint this new linestyle
to the list solves the problem (but it's ugly and error prone). I guess you
know how to do that properly. The same will probably apply to the other types
of styles (marker/fill) which can be added to the legend.
In IInfo, plotting of the 'text' is not implemented (right?!). That's a pity
because it is only a few lines: one loop to find the maximum length and another
one to actually print it into the legend box. At least that worked for me.
I used the addText to print fit parameters. Or is there a way to put those
into the statisticsbox? (btw: fitting is really slow.. is this only because
it is scripted, or is there still some optimization possible? the fit quality
is very nice though..)
Then I get a few divisionbyzero exceptions when reading in some of my 2D
histos. But here I will check first whether that is not the fault of my histos.
Btw: none of my histos produced with ANAPHE has the 'weightedRms' parameter
set. I don't know whether this is according to AIDA specs. Anyway, setting
it to 0 instead of throwing an exception works for me (but of course this
could be related to the problem I mention above..) I'll check that.