Re: [Paraview] [EXTERNAL] Unable to rescale properly the color map

2016-12-03 Thread Magician
Hi Luigi,


I have the same problem when I display color contours with UNIX Timestamps.

The instant solution is using Calculator filter.
Subtract 160 from CellIDs, you may get correct results.

# Of course I want to be fixed the problem about the precision of contour 
ranges, too.


Magician


> On Dec 3, 2016, at 02:00, paraview-requ...@paraview.org wrote:
> 
> Message: 13
> Date: Thu, 1 Dec 2016 21:51:33 +
> From: Luigi R <xluig...@hotmail.it>
> To: "Scott, W Alan" <wasc...@sandia.gov>, "paraview@paraview.org"
>       <paraview@paraview.org>
> Subject: Re: [Paraview] [EXTERNAL] Unable to rescale properly the
>   color map
> Message-ID:
>   
> <db5pr04mb2088170bebf0512fd5532547b9...@db5pr04mb2088.eurprd04.prod.outlook.com>
>   
> Content-Type: text/plain; charset="iso-8859-1"
> 
> No problem Alan. Thanks for replying. I thought my issue was due to 
> truncation. Anyhow, I had a look at the bug #16978 and, if I can, I would 
> like to give my opinion. When min and max are the same or both zero, I expect 
> as user to see an unique color in the color map either red or blue. If you 
> add an eps to the max and still show the full rgb color map, I would think 
> immediately that there are not enough digit in the label and I would start 
> playing with that or rescaling to find where the differences are.
> 
> 
> Best regards,
> 
> 
> Luigi
> 
> 
> ________
> Da: Scott, W Alan <wasc...@sandia.gov>
> Inviato: gioved? 1 dicembre 2016 19.36
> A: Luigi R
> Oggetto: RE: [EXTERNAL] [Paraview] Unable to rescale properly the color map
> 
> 
> Luigi - Since everyone mis-spells my name, and I don't like it, I should have 
> been more careful with yours.
> 
> 
> 
> Sorry about that.
> 
> 
> 
> Alan
> 
> 
> 
> 
> 
> 
> 
> From: Scott, W Alan
> Sent: Thursday, December 1, 2016 10:57 AM
> To: 'Luigi R' <xluig...@hotmail.it>; paraview@paraview.org
> Subject: RE: [EXTERNAL] [Paraview] Unable to rescale properly the color map
> 
> 
> 
> Lugi,
> 
> I am fairly sure you are seeing this bug: 
> https://gitlab.kitware.com/paraview/paraview/issues/16978.  It is scheduled 
> to be fixed in an upcoming release, but the solution isn't trivial.  I will 
> add your example to the bug.
> 
> [https://gitlab.kitware.com/uploads/project/avatar/14/pvIcon-512x512.png]<https://gitlab.kitware.com/paraview/paraview/issues/16978>
> 
> color legend max wrong for zero (#16978) ? Issues ? ParaView / 
> ParaView<https://gitlab.kitware.com/paraview/paraview/issues/16978>
> gitlab.kitware.com
> The color legend is wrong for any data that has a maximum value same as the 
> minimum value. Here is how to replicate. * Local server, Linux, 5.2.0-rc2 * 
> Open...
> 
> 
> 
> 
> 
> Alan
> 
> 
> 
> From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Luigi R
> Sent: Thursday, December 1, 2016 6:39 AM
> To: paraview@paraview.org<mailto:paraview@paraview.org>
> Subject: [EXTERNAL] [Paraview] Unable to rescale properly the color map
> 
> 
> 
> Dear developers,
> 
> 
> 
> I'm loading a vtp file in Paraview 5.2 containing the agglomerated mesh and a 
> scalar field (INT32) for the global cellID. The coarsest mesh has few cells 
> characterized by a high identification number (cellID ranges from 160 to 
> 1600010]. Paraview is not able to rescale properly the range of the color map 
> even with the custom data range and everything is displayed with a blue color 
> and it becomes useless. Is there a way to change the precision for the color 
> map.
> 
> 
> 
> I have also tested the version 5.0.1 which scales better but still cannot go 
> below a certain range.
> 
> 
> 
> Please let me know.
> 
> 
> 
> Best regards,
> 
> 
> 
> Luigi
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] [EXTERNAL] Unable to rescale properly the color map

2016-12-01 Thread Scott, W Alan
Lugi,
I am fairly sure you are seeing this bug: 
https://gitlab.kitware.com/paraview/paraview/issues/16978.  It is scheduled to 
be fixed in an upcoming release, but the solution isn't trivial.  I will add 
your example to the bug.

Alan

From: ParaView [mailto:paraview-boun...@paraview.org] On Behalf Of Luigi R
Sent: Thursday, December 1, 2016 6:39 AM
To: paraview@paraview.org
Subject: [EXTERNAL] [Paraview] Unable to rescale properly the color map


Dear developers,



I'm loading a vtp file in Paraview 5.2 containing the agglomerated mesh and a 
scalar field (INT32) for the global cellID. The coarsest mesh has few cells 
characterized by a high identification number (cellID ranges from 160 to 
1600010]. Paraview is not able to rescale properly the range of the color map 
even with the custom data range and everything is displayed with a blue color 
and it becomes useless. Is there a way to change the precision for the color 
map.



I have also tested the version 5.0.1 which scales better but still cannot go 
below a certain range.



Please let me know.



Best regards,



Luigi

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview