Histograms

From: KOSU_FOKIN@garbo.lucas.lu.se
Date: Thu Oct 14 1999 - 17:41:36 MEST


Hello again,

First of all a short anecdote:

a patient (P) comes to a doctor (D)

D: what's you problem?
P: everybody ignores me!
D: next, please ...

---

Well :) I would like to go back to my old question about histograms and pads.
I have a producer-consumer application where a producer writes histograms to
a TMapFile or sends it via TSocket. A consumer reads histogram from TMapFile
or from TMessage and updates it in a TPad. That's all fine. Now I would like
to change something like SetAxisColor() for a histogram using this nice
on-mouse-click panel on consumer side. Of course it changes the color for a 
current histogram and of course the color changes back at the next update because 
I draw a new histogram wich holds the old axis color. At the same time LogX and LogY 
are properties of a Pad, so I can change them once and for all histograms.

Could you suggest the best way to solve this problem? Do you think that the
best way to manage with histogram attributes is to change them on the producer 
side every time I change it on the consumer side? And where should I store 
DrawOption for a histogram? Currently I have a wrapper class THObj which holds 
options but I do not think it is the most elegant solution.

Best regards,
Anton 



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET