<div dir="ltr">I figured out a way by using the vtkAxesActor class directly.<div><br></div><div><div>An example script:</div><div><br></div><div>from paraview.simple import *<br></div><div>paraview.simple._DisableFirstRenderCameraReset()</div><div><br></div><div>renderView1 = GetActiveViewOrCreate('RenderView')</div><div><br></div><div>sphere1 = Sphere()</div><div>sphere1.Radius = 1.0</div><div>sphere1Display = Show(sphere1, renderView1)</div><div>sphere1Display.SetRepresentationType('Outline')</div><div><br></div><div>import vtk</div><div>renderer = renderView1.GetRenderer()</div><div>axes = vtk.vtkAxesActor()</div><div><br></div><div>#axes.SetAxisLabels(0) # 0/1 to turn off/on axis labels</div><div><br></div><div>transform = vtk.vtkTransform()</div><div>transform.Translate(-1.0, -1.0, -1.0)</div><div>transform.Scale(0.75, 0.75, 0.75)</div><div>axes.SetUserTransform(transform)</div><div><br></div><div>tprop = vtk.vtkTextProperty()</div><div>#tprop.SetFontSize(6) # seems to be overriden by vtkCaptionActor2D</div><div>tprop.SetBold(1)</div><div>tprop.SetItalic(0)</div><div>tprop.SetColor(1.0, 1.0, 1.0)</div><div>tprop.SetOpacity(1.0)</div><div>tprop.SetFontFamilyToTimes()</div><div><br></div><div>for label in [</div><div>        axes.GetXAxisCaptionActor2D(),</div><div>        axes.GetYAxisCaptionActor2D(),</div><div>        axes.GetZAxisCaptionActor2D(),</div><div>        ]:</div><div>    # set Positoin2</div><div>    label.SetWidth(label.GetWidth() * 0.5)</div><div>    label.SetHeight(label.GetHeight() * 0.5)</div><div>    label.SetCaptionTextProperty(tprop)</div><div><br></div><div>renderer.AddActor(axes)</div><div><br></div><div>Interact()</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 8, 2017 at 4:08 PM, Liang Wang <span dir="ltr"><<a href="mailto:frank0734@gmail.com" target="_blank">frank0734@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">From <a href="http://public.kitware.com/pipermail/paraview/2010-July/018081.html" target="_blank">http://public.kitware.<wbr>com/pipermail/paraview/2010-<wbr>July/018081.html</a><div>it was not possible back then to change the size of orientation axes.</div><div><br></div><div>Is it possible now, hopefully through Python, too?</div></div>
</blockquote></div><br></div>