[Paraview] scalarBar location

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Wed Aug 12 10:57:00 EDT 2015


Ganesh,

It'll be something like this:

lut = GetColorTransferFunction("RTData")
sb = GetScalarBar(a, GetActiveView())
sb.Position = [x, y]
sb.Position2 = [x2, y2]
sb.Orientation = "Horizontal' # or | "Vertical"


I've also reported a bug: http://www.paraview.org/Bug/view.php?id=15640

Utkarsh


On Mon, Aug 10, 2015 at 7:02 PM, Ganesh Vijayakumar
<ganesh.iitm at gmail.com> wrote:
> Dear All,
>
>   Could you please help me with setting the location of the scalarBar
> location using python scripting? I'm unable to see any changes to a python
> script generated by "trace" when I move the scalar bar around.
>
> ganesh
>
> _______________________________________________
> 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