[Paraview] PV 4.3.1 Color legend and Color discretization
Kilian Weishaupt
kilian.weishaupt at gmx.net
Sat Feb 21 13:00:24 EST 2015
Thanks Utkarsh!
Since the color mapping seems to work correctly I found a workaround by
just disabling the ticks and adding annotations at each 10 K manually to
the legend. Here, the same problem occurs. If you add for instance an
annotation for the value 350 K it does not appear exactly at the
beginning of the 350 -360 K interval but slightly shifted. You can
circumvent this issue by setting a slightly lower value (or higher if
the annotation appears below where it should) by trial and error. Not a
very elegant solution but it should work as long as the bug has not been
fixed.
Best regards
Kilian
Am 12.02.2015 um 21:03 schrieb Utkarsh Ayachit:
> Kilian,
>
> I suspect this is indeed an issue with the labeling. The color mapping
> is indeed behaving as expected (I verified by creating a calculator
> filter and making it produce the constant of interest and then
> coloring by it).
>
> I've reported a bug: http://www.paraview.org/Bug/view.php?id=15319
>
> Utkarsh
>
> On Thu, Feb 12, 2015 at 10:05 AM, Kilian Weishaupt
> <kilian.weishaupt at gmx.net> wrote:
>> I am trying to use the color discretization feature in order to get a color
>> legend that somehow resembles the one I have attached here
>> (colorlegend1.png).
>> It features 11 regions that each represent a temperature range of 10 K.
>>
>> My first idea was to use the "Blue to Red Rainbow" preset in combination
>> with 11 table values and a range of 280 to 390 K (see colorlegend2.png).
>> Maybe I am just missing a very simple point here but the temperature ranges
>> (or in other words: the "boxes of different colors" on the scale) do not
>> seem to fit to the label ticks (especially the one at 380 K).
>>
>> I have tried various combinations of the number of table values and the
>> number of ticks for the color scale but none of this worked.
>>
>> Do you have any ideas?
>>
>> Best regards
>> Kilian
>>
>> _______________________________________________
>> 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
>>
More information about the ParaView
mailing list