View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015327ParaView(No Category)public2015-02-17 17:312015-09-09 22:19
ReporterAlan Scott 
Assigned ToCory Quammen 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.3 
Target Version4.4Fixed in Version4.4 
Summary0015327: Color map editor, log scale, add back old labeling behavior
DescriptionWe need to keep the current behavior of the Color Map Editor, Use log scaling. On the color legend, this will create labels for min and max that are within an order of magnitude of each other. An example is disk_out_ref.exo, Temp. Log scale.

We also need to optionally add back the old behavior. Some users have data that is numerous orders of magnitude different between the min and max, and they (correctly) want the labels to be placed at powers of 10. This is what the old code did. An example is disk_out_ref, Calculator, formula==Temp*1000-293000. Color by Result, log scale.

Another thing that would be RN (Really Nice) would be to have the color legend labels smart enough to move to the powers of 10, if possible.

TagsNo tags attached.
ProjectSandia
Topic Name15327_fix_scalar_bar_font_size
Typeincorrect functionality
Attached Filesjpg file icon junkScreenshot1.JPG [^] (347,823 bytes) 2015-08-06 17:13

 Relationships
related to 0015328closedCory Quammen Misrepresenting data log scale 

  Notes
(0034269)
Alan Scott (manager)
2015-02-20 21:59

Here's an alternative idea from a user:


import math

eps = 1.e-06
ihi = math.floor( math.log10( range_max*(1.-eps))
ilo =math.ceil( math.log10( range_min*(1.+eps)) )

if ( ( ihi - ilo + 1 ) < 2 ) :
     at most one decade mark, so use new method of labeling with uniform spacing
else:
     at least two decade marks, so use old method of labeling decade marks
(0034611)
David C. Lonie (developer)
2015-06-25 15:32

It looks like this will be fixed by https://gitlab.kitware.com/paraview/paraview/merge_requests/175. [^] Let's revisit once that patch is in.
(0034621)
David C. Lonie (developer)
2015-06-29 10:29

https://gitlab.kitware.com/paraview/paraview/merge_requests/175 [^] improves tick labeling for log scale quite a bit. Should this issue stay open?
(0034911)
Alan Scott (manager)
2015-08-06 17:12

Still a mess, but for a different reason. New code, when you log scale, shows annotations as very, very, very small. Further, it isn't using the max number of labels.

Here's how to replicate what I just did:
* disk_out_ref.exo. All vars on. Apply.
* Color by Temp.
* Clip. Apply. Unclick the Show Plane check box.
* +X
* Calculator. Formula: Temp*1e6-2.93e8.
* Color Editor/ Use log scale when mapping data to colors.

<< bug >> Annotations are crazy small. See attached screenshot.

(0034989)
Cory Quammen (developer)
2015-08-13 10:57

Alan,

The font size issue should now be fixed.

https://gitlab.kitware.com/paraview/paraview/merge_requests/295 [^]
(0035200)
Alan Scott (manager)
2015-09-09 22:19

Yep, that's nice.

Tested Linux, local server, master.

 Issue History
Date Modified Username Field Change
2015-02-17 17:31 Alan Scott New Issue
2015-02-20 21:33 Alan Scott Target Version => 4.4
2015-02-20 21:59 Alan Scott Note Added: 0034269
2015-02-20 22:06 Alan Scott Relationship added related to 0015328
2015-06-08 14:28 Utkarsh Ayachit Assigned To => David C. Lonie
2015-06-08 14:28 Utkarsh Ayachit Status backlog => todo
2015-06-25 15:32 David C. Lonie Note Added: 0034611
2015-06-29 10:29 David C. Lonie Note Added: 0034621
2015-06-29 10:29 David C. Lonie Status todo => gatekeeper review
2015-06-29 10:29 David C. Lonie Resolution open => fixed
2015-08-06 17:12 Alan Scott Note Added: 0034911
2015-08-06 17:12 Alan Scott Status gatekeeper review => todo
2015-08-06 17:13 Alan Scott File Added: junkScreenshot1.JPG
2015-08-07 10:40 Utkarsh Ayachit Assigned To David C. Lonie => Utkarsh Ayachit
2015-08-12 14:50 Cory Quammen Assigned To Utkarsh Ayachit => Cory Quammen
2015-08-12 14:50 Cory Quammen Status todo => active development
2015-08-13 10:57 Cory Quammen Topic Name => 15327_fix_scalar_bar_font_size
2015-08-13 10:57 Cory Quammen Note Added: 0034989
2015-08-13 10:57 Cory Quammen Status active development => gatekeeper review
2015-08-13 10:57 Cory Quammen Fixed in Version => 4.4
2015-09-03 09:39 Utkarsh Ayachit Status gatekeeper review => customer review
2015-09-09 22:19 Alan Scott Note Added: 0035200
2015-09-09 22:19 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team