[Paraview-developers] A question about showing the unit on the scalar bar

Cory Quammen cory.quammen at kitware.com
Wed Jun 13 22:20:52 EDT 2018


David,

I may be mistaken, but I do not believe XML files can contain a color
lookup table, so what you are trying to do is not possible.

HTH,
Cory

On Wed, Jun 13, 2018 at 7:54 PM David Wang via Paraview-developers <
paraview-developers at public.kitware.com> wrote:

> Hi
>
> I wonder if there is an automatically way to load the legend from the .vtu
> and display it on the scalar bar. Currently I have the following. I wonder
> if there is any existing clause used to add some extra info such as
> Unit="xxx" .
>
> The only way I can find is to manually edit the "Edit Color Legend
> Properties" dialogbox. But needs to do every single time and its not
> automatic.
>
> Thanks
>
> <DataArray type="Float32" Name="Pressure" format="ascii" RangeMin="0"
> RangeMax="0">
> _______________________________________________
> Powered by www.kitware.com
>
> ParaView development discussion is moving! Please visit
> https://discourse.paraview.org/ for future posts.
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at:
> http://markmail.org/search/?q=Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/paraview-developers
>


-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180613/971a608a/attachment.html>


More information about the Paraview-developers mailing list