标签:variable 技术分享 png prope tco legend col nta odi
**********
# 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
标签:variable 技术分享 png prope tco legend col nta odi
原文地址:https://www.cnblogs.com/code-saturne/p/10287048.html