MantisBT - ParaView
View Issue Details
0008692ParaViewBugpublic2009-03-06 12:422011-01-13 17:00
Alan Scott 
Utkarsh Ayachit 
highminoralways
closedfixed 
 
3.6.23.6.2 
0008692: (Venus - Medium) Log plots with zero data doesn't work.
When doing log plots of data with a zero and negative data, ParaView just presents a plot without the log scale.

There should be a user selectable option in the display tab to ignore any data that is zero or less (i.e., illegal).

open disk_out_ref.exo.
calculator. output is badData, formula is Temp-400.
plot over line, z axis. apply.
Left axis, log scale.
Display tab, only display by badData. There should be an option to display data as log, and ignore 0 and negative.

What would really be nice is if you could make a user input threashold, that all data less than this is ignored.
No tags attached.
Issue History
2009-03-06 12:42Alan ScottNew Issue
2009-03-11 16:48Ken MorelandCategory3.6 => 3.8
2009-05-13 13:39Utkarsh AyachitTarget Version => 3.8
2009-08-24 16:25Alan ScottCategory => Bug
2009-08-24 16:25Alan ScottTarget Version3.8 => 3.6.2
2009-09-08 17:02Alan ScottPrioritynormal => high
2009-09-08 17:20Utkarsh AyachitNote Added: 0017350
2009-09-08 17:20Utkarsh AyachitStatusbacklog => @20@
2009-09-08 18:47Alan ScottNote Added: 0017352
2009-09-08 18:47Alan ScottNote Added: 0017353
2009-09-08 18:47Alan ScottAssigned To => Utkarsh Ayachit
2009-09-08 18:47Alan ScottStatus@20@ => tabled
2009-09-09 09:38Utkarsh AyachitNote Added: 0017355
2009-09-09 09:38Utkarsh AyachitStatustabled => @20@
2009-09-11 19:17Alan ScottNote Added: 0017398
2009-09-11 19:17Alan ScottStatus@20@ => tabled
2009-09-21 16:01Utkarsh AyachitNote Added: 0017683
2009-09-21 16:01Utkarsh AyachitStatustabled => @80@
2009-09-21 16:01Utkarsh AyachitFixed in Version => 3.6.2
2009-09-21 16:01Utkarsh AyachitResolutionopen => fixed
2009-09-22 22:10Alan ScottNote Added: 0017722
2009-09-22 22:10Alan ScottStatus@80@ => closed
2011-01-13 17:00Source_changeset_attached => VTK master a2bd8391
2011-01-13 17:00Source_changeset_attached => VTK master 020ef709

Notes
(0017350)
Utkarsh Ayachit   
2009-09-08 17:20   
Alan,

There's already a mechanism to specify the range for the axes. In the View Settings dialog for the axes, after clicking the "Use logarithmic scale" checkbox, select, "Specify the Axis Range" radio button, then specify a range eg. [0.001, 600] and you'll see that you can plot the badData as expected. Does that suffice? Is this is matter of just documenting it better?
(0017352)
Alan Scott   
2009-09-08 18:47   
Lets consider this an acceptable option.

How about modifying the error box that comes up to be clearer? For instance, it currently says: "Warning: Invalid range for a logarithmic scale. Please select a range greater than zero. "

How about the following: "Warning: Invalid range for a logarithmic scale. For this axis, please select "Specify the Axis Range", and supply a Minimum value greater than zero. " or somesuch verbiage.

Then, mark this bug resolved.
(0017353)
Alan Scott   
2009-09-08 18:47   
Back to you.
(0017355)
Utkarsh Ayachit   
2009-09-09 09:38   
This is tough one! :). The error comes from VTK. Now VTK does not have the notion of "Specify Axis Range" etc. so it wouldn't make sense to report such an error in VTK. How about:

"Warning: Invalid range for a logarithmic scale. Please specify a range with minimum value greater than 0 for this axis."
(0017398)
Alan Scott   
2009-09-11 19:17   
Your verbiage is fine. Lets use it.
(0017683)
Utkarsh Ayachit   
2009-09-21 16:01   
/cvsroot/ParaView3/ParaView3/VTK/GUISupport/Qt/Chart/vtkQtChartAxis.cxx,v <-- VTK/GUISupport/Qt/Chart/vtkQtChartAxis.cxx
new revision: 1.9.2.3; previous revision: 1.9.2.2


/cvsroot/ParaView3/ParaView3/VTK/GUISupport/Qt/Chart/vtkQtChartAxis.cxx,v <-- VTK/GUISupport/Qt/Chart/vtkQtChartAxis.cxx
new revision: 1.13; previous revision: 1.12
(0017722)
Alan Scott   
2009-09-22 22:10   
Tested local server, trunk.