<div dir="ltr">Hi,<br><div class="gmail_quote"><div dir="ltr"><div><br></div><div><div>I&#39;m working with 3D graphs in VTK. I succeeded in generating the graph with the specified data. What I want to achieve is having the graph occupying as much space as possible. In capture1.jpg we can see that although the axes X ranges goes from 0.000 to 1.61, the X values goes from 0.000 to 0.896. That&#39;s because Y&#39;s values goes from 0.000 to 1.61, so what I do is looking for the min and max values from all the data and apply them to all the axes. Consecuently all of them have the same length.</div>


</div>
<div><br></div><div>What I want to achieve, as shown in capture2.jpg is to fill all the available space with the graph. That means that although axes Y range goes from 0.000 to 1.61, I want axes X range to go from 0.000 to 0.896 <i>but </i>maintaining the same length for all of them. Is it possible?</div>



<div><br></div><div><br clear="all">
<div><br></div><div>I tried it hard with the functions:</div><div><br></div><div><div><span style="white-space:pre-wrap">                </span><font color="#0000ff">axes</font>.SetBounds(min, max, max, min, min, max);</div>
<div><span style="white-space:pre-wrap">                </span><font color="#0000ff">axes</font>.SetRanges(xmin, xmax, ymin, ymax, zmin, zmax);</div></div><div><br></div><div>But I don&#39;t find the way to achieve it. Any idea, comment or suggestion?</div>



<div><br></div><div>Thank you in advance!</div><span><font color="#888888"><div><br></div></font></span></div></div></div><div><br></div>-- <br>Laura Balbastre<br>
</div>