Hello,
i am trying to figure out how to control the position of a scalarbar.
>From what i could find online this should be possible by using two commands:
import paraview.simple as pvs

pvs.GetScalarBar(mylookuptable_fluid, myview).Position = [x, y]
pvs.GetScalarBar(mylookuptable_fluid, myview).Position2 = [x2, y2]

Can anyone point out what impact x, x2, y, y2 have towards the overall
position ?
I have been playing with them for quite some time but it seems that x and
x2 have no impact and y and y2 determine the distance of the scalarbar from
the bottom of the view in percent.

Maybe it is important that i use a Horizontal orientation.
The goal is that the Bar is in the top left corner.


Regards,

Jonas
_______________________________________________
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

Reply via email to