View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0005460 | ParaView | (No Category) | public | 2007-08-08 14:53 | 2011-01-13 17:00 | ||||
Reporter | Alan Scott | ||||||||
Assigned To | Utkarsh Ayachit | ||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005460: Log color legend is incorrect | ||||||||
Description | The color legend is displaying the colors vs numbers correctly, but in the wrong format. If I have a variable that ranges from 1 to 10000, it currently will use 1,2500,5000, 7500, 10000. It should use 1,10,100,1000,10000. In other words, use 10e0, 10e1, 10e2, 10e3, and then 10e4. This needs to be fixed for 3.2 for a very important visualization. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Topic Name | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0008382) Ken Moreland (manager) 2007-08-08 17:13 |
Just to clarify, the color bar legend is showing the correct number for colors, and there is nothing wrong with the formatting of the number per se. The problem is that the color bar legend is shown with a linear scale even when the colors themselves have a log scale. Thus, in the example in the description, the second lowest number on the color bar legend is 2500, which is actually mapped to a color at the top part of the color range. Thus, the color bar will look all red. Here is an easy way to demonstrate the problem. Make a Mandelbrot source and then run it through the array calculator with the following expression: 10^(Iterations/10). Now turn on the color bar for the Result array and change to log scaling. You will see that, although the numbers are technically correct, most of the viewable colors are red and the labels are not very useful. |
(0008912) Utkarsh Ayachit (administrator) 2007-09-10 15:27 |
Adding virtual method to vtkScalarsToColors to get if the subclass is using log mapping. Overridden by vtkPVLookupTable and vtkLookupTable to repsond appropriately. ScalarBar uses the value returned by this method to decide if it should show labels using log scale or not. /cvsroot/ParaView3/ParaView3/VTK/Common/vtkLookupTable.h,v <-- vtkLookupTable.h new revision: 1.81; previous revision: 1.80 /cvsroot/ParaView3/ParaView3/VTK/Common/vtkScalarsToColors.h,v <-- vtkScalarsToColors.h new revision: 1.36; previous revision: 1.35 /cvsroot/ParaView3/ParaView3/VTK/Rendering/vtkScalarBarActor.cxx,v <-- vtkScalarBarActor.cxx new revision: 1.62; previous revision: 1.61 /cvsroot/ParaView3/ParaView3/Servers/Filters/vtkPVLookupTable.h,v <-- vtkPVLookupTable.h new revision: 1.9; previous revision: 1.8 |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2007-08-08 14:53 | Alan Scott | New Issue | |
2007-08-08 17:13 | Ken Moreland | Note Added: 0008382 | |
2007-08-29 15:47 | Berk Geveci | Assigned To | => Berk Geveci |
2007-08-29 15:47 | Berk Geveci | Priority | normal => urgent |
2007-08-29 15:47 | Berk Geveci | Status | backlog => tabled |
2007-08-29 15:47 | Berk Geveci | Category | => 3.2 |
2007-09-10 14:37 | Utkarsh Ayachit | Assigned To | Berk Geveci => Utkarsh Ayachit |
2007-09-10 15:27 | Utkarsh Ayachit | Status | tabled => @80@ |
2007-09-10 15:27 | Utkarsh Ayachit | Resolution | open => fixed |
2007-09-10 15:27 | Utkarsh Ayachit | Note Added: 0008912 | |
2007-09-12 21:56 | Alan Scott | Status | @80@ => closed |
2011-01-13 17:00 | Source_changeset_attached | => VTK master a2bd8391 | |
2011-01-13 17:00 | Source_changeset_attached | => VTK master 020ef709 | |
2011-06-16 13:09 | Zack Galbreath | Category | => (No Category) |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |