Offhand, I'm not sure if this would be easy to do.
Basically, you want to be able to clear the bars at various points.
You could look at src/ptklib/BarGraph.cc and add a method that would
do this. Then you would have to extend
src/domains/sdf/tcltk/stars/SDFTkBarGraph.pl to call the clear method
However, I suspect that there is an easier way to do this.
-Christopher
--------
Hi,
My question is related to the Histogram module in Ptolemy. If I connec
t the module to a simulation and run it multiple times in one shot, seems to
me that the values in the histogram bin accumulates, i.e., it shows the cum
ulative sum of the bins values. Is there any way I can modify the module suc
h that even if I run the simulation multiple times in one shot, the histogra
m module only shows the bin values for the very last run ? I appreciate your
help in this matter.
Regards
Hasan Saleheen
---------------------------------------------------------------------------
-
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]
--------
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]