change legend layout from 'vertical' to 'horizontal' in Paraview

Posted code-saturne

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了change legend layout from 'vertical' to 'horizontal' in Paraview相关的知识,希望对你有一定的参考价值。

 

**********

# get color legend/bar for ‘vLUT‘ in view ‘renderView1‘
vLUTColorBar = GetScalarBar(vLUT, renderView1)

# Properties modified on vLUTColorBar
vLUTColorBar.AutoOrient = 0
vLUTColorBar.Orientation = ‘Horizontal‘

**********

- renderView1 is name of view

- vLUT = GetColorTransferFunction(‘v‘), a variable for ‘v‘ velocity

 技术分享图片

以上是关于change legend layout from 'vertical' to 'horizontal' in Paraview的主要内容,如果未能解决你的问题,请参考以下文章

Change Fragment layout on orientation change

How to change system keyboard keymap layout on CentOS 7 Linux

选择 .change()

leetcode1432. Max Difference You Can Get From Changing an Integer

leetcode1432. Max Difference You Can Get From Changing an Integer

iOS 开发实践之Auto Layout(From Vincent Sit)