Hi roottalkers,
a quick question: what would be the simplest, the most elegant way to “filp”
(change the sign) of the 1D historam AND its associated functions?
I find in the roottalk that the histogram can be manipulated via:
h->Scale(-1);
h->Draw();
but but when I try it the associated function is (of course) left unchanged.
I guessthat I can do the change in many way, but is there a way to do it in one or
two lines without defining the additional copies of the original histogram and
functions? I’d like to keep the code clutter-free ;
(I am doing the “fflip” just for presentation purposes …)
Cheers, Emil