MantisBT - ParaView
View Issue Details
0015049ParaView(No Category)public2014-10-15 04:252016-08-12 09:59
Univorsus 
Kitware Robot 
immediateminorhave not tried
closedmoved 
4.2 
 
TBD
incorrect functionality
0015049: Logarithmic color legend tick marks in wrong position
Suppose I set up a logarithmic color legend that spans, for example, from 10 to 100.

One would expect to have default tick marks at 10, 20, 30 ... 100. The total amount of tick marks would thus be 10.

Please, check this: you have 11 tick marks. Thus, ticks are not intuitive to read, as one does not know which values they represent.


I also noticed that the manual annotations do not account for logarithmic scaling, so that if I want to add a manual annotation I have to calculate the non-logarithmic position of the annotation with the following formula:

xmin=minimum value of legend
xmax=maximum value of legend
x=desired annotation value

x' = xmin + (xmax-xmin)*(log10(x)-log10(xmin))/(log10(xmax)-log10(xmin))

For example, in the above example, if I add an annotation at x=30, it will appear at the position of x=30 of the nonlogarithmic color legend. When I apply the above formula, I get x'=52.9409. That is the position I have to assign the annotation of x=30 when using logarithmic scale, if I want it to be correctly located.

Thank you very much.
No tags attached.
? Tickmarks.tif (177,054) 2014-10-15 04:25
https://www.vtk.org/Bug/file/9753/Tickmarks.tif
Issue History
2014-10-15 04:25UnivorsusNew Issue
2014-10-15 04:25UnivorsusFile Added: Tickmarks.tif
2016-08-12 09:59Kitware RobotNote Added: 0038682
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved
2016-08-12 09:59Kitware RobotAssigned To => Kitware Robot

Notes
(0038682)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.