dear root talk members, i've got a question concerning histogram identifiers. i try to fill various histos (e.g.) dependent on a specific value. im paw this was possible by calculating the histogram identifier from this value and then fill f.e. HBOOK(i) and so on. But as in root the histograms carry names i just managed to do the same by a switch syntax. but when there are more and more histos i'd rather like to stick to the old possibility. a second trial by making a vector of histograms and then filling the one at vector position (i) failed... does someone have an advice for me in this case? btw. a second, not very urgent question. i designed a histogramstyle for me and tried to use gROOT -> ForceStyle() which works (for most of the values set by the style except f.e. style->SetLabelFont(42) which is totally ignored) for the first histogram, but when i redo the macro, the style gets crazy, even if i make gROOT -> Reset() before. thanks, andreas
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET