[Paraview] Colormap loading (xml)
Lester Anderson
arctica1963 at gmail.com
Wed Jun 15 09:52:18 EDT 2016
On 15 June 2016 at 14:46, Andy Smith <agsmith424 at gmail.com> wrote:
> Can you try enclosing your map with ColorMaps tags, i.e.,
>
> <ColorMaps>
> <ColorMap name="Haxby" space="RGB">
> <Point x="0" o="1" r="0.0392156862745098" g="0" b="0.474509803921569"/>
> <Point x="1" o="1" r="0.0392156862745098" g="0" b="0.474509803921569"/>
> <Point x="1" o="1" r="0.156862745098039" g="0" b="0.588235294117647"/>
> .......
> <Point x="30" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
> <Point x="31" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
> <Point x="31" o="1" r="1" g="1" b="1"/>
> <Point x="32" o="1" r="1" g="1" b="1"/>
> </ColorMap>
> </ColorMaps>
>
> -Andy
>
> On Wed, Jun 15, 2016 at 9:34 AM, Lester Anderson <arctica1963 at gmail.com>
> wrote:
>>
>> Hello,
>>
>> I have a couple xml colormaps I want to load as presets but the import
>> option does not do anything; no error messages.
>>
>> <ColorMap name="Haxby" space="RGB">
>> <Point x="0" o="1" r="0.0392156862745098" g="0"
>> b="0.474509803921569"/>
>> <Point x="1" o="1" r="0.0392156862745098" g="0"
>> b="0.474509803921569"/>
>> <Point x="1" o="1" r="0.156862745098039" g="0" b="0.588235294117647"/>
>> .......
>> <Point x="30" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
>> <Point x="31" o="1" r="1" g="0.92156862745098" b="0.92156862745098"/>
>> <Point x="31" o="1" r="1" g="1" b="1"/>
>> <Point x="32" o="1" r="1" g="1" b="1"/>
>> </ColorMap>
>>
>> These worked before, but not in 5.0.0
>>
>> Pretty sure the file structure is right, but be good if someone could
>> test. Tried removing the duplicate line entries and still no joy.
>>
>> Thanks
>>
>> Lester
>>
>> _______________________________________________
>> 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
>>
>
Thanks Andy, that solved the problem :)
More information about the ParaView
mailing list