MantisBT - ParaView
View Issue Details
0004460ParaView(No Category)public2007-02-13 18:442007-04-02 17:00
Ken Moreland 
Utkarsh Ayachit 
highmajoralways
closedfixed 
 
 
0004460: No histogram for constant variable
When a variable is constant, the histogram filter returns nothing.

Although on the surface it makes little sense to make a histogram when all the values are the same, the user might not know that a-priori. We can solve the problem by artifically expanding the limits of variables slightly and placing all of the values in a single bin.
No tags attached.
Issue History
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0006425)
Ken Moreland   
2007-02-15 12:08   
Added a lable to the ExtractHistogram filter.

/cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/filters.xml,v <-- filters.xml
new revision: 1.176; previous revision: 1.175
(0006454)
Ken Moreland   
2007-02-15 19:17   
Oops. I just closed the wrong bug. Ignore the last entry.
(0006894)
Utkarsh Ayachit   
2007-03-21 18:25   
Fixed by pretending the data range is 1 when range is 0.

/cvsroot/ParaView3/ParaView3/Servers/Filters/vtkExtractHistogram.cxx,v <-- vtkExtractHistogram.cxx
new revision: 1.16; previous revision: 1.15