<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Wed, Oct 27, 2010 at 7:45 PM, Scott Fowler <span dir="ltr">&lt;<a href="mailto:s.fowler@tecplot.com">s.fowler@tecplot.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">I&#39;m currently using vtkCubeAxesActor and I want to adjust the length of each axis such that they&#39;re the same length.   My data has a fairly high aspect ratio and the default behavior of vtkCubeAxesActor makes the variation in Z hard to
 see.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I&#39;m new to VTK and don&#39;t see an obvious method that allows me to change the axis length.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks!</p>
<p class="MsoNormal">Scott</p></div></div></blockquote><div><br></div><div>To change the axes, you have to pass SetBounds a 6-vector </div><div><br></div><div>double bounds[6] = {xmin, xmax, ymin, ymax, zmin, zmax}; </div>
<div><br></div><div>of the bounds of the axes. It looks like it was designed just to take the bounds of an input data set, as I have illustrated here:</div><div><br></div><div><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CubeAxesActor">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CubeAxesActor</a></div>
<div class="gmail_quote"><br></div>Let us know if you have any more questions.</div><div class="gmail_quote"><br><div>David</div></div>