2d plots log is wrong
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
On a 2d plot, when a user has positive X axis data that is to be logged, and includes 0 or negative data, ParaView will arbitrarily change this minimum to 1. Please add more intelligence to this algorithm. What I would like is as follows:
If (X axis data is all positive)
Leave algorithm as is.
else (i.e., we have 0 or negative X axis data)
Possible-Min = max/(1e-4)
If (Possible-Min < 1)
Minimum = Possible-Min
Else
Minimum = 1
A trivial way to reproduce this is as follows:
- Master, local server, Linux.
- can.exo. All vars on. Apply.
- Move forward one time step.
- Plot over line. Left Axis Log Scale on. Apply.
A huge warning will appear, which makes 2d plots useless. Further, if you click on Use Custom Range, the minimum and maximum are not even preset! This creates huge headaches for users.
To show the magnitude of the problem, imagine a user needs to Y axis log scale 4 different 2d plots, with varrying min and max, with a few data points at 0. ParaView becomes very painful to use.