<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} P{margin-top:0;margin-bottom:0;}--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi all,</p>
<p><br>
</p>
<p>I apologize for bombarding the mailing list this past bit, but hopefully this should be the last question that I have. I'm trying to set aysmmetric units on a projection plot (i.e. xlim=[-10,40] and ylim=[-35,35] in kpc. However, there is not a set_xlim
 or set_ylim option for off axis projection plots. The idea that I had was to use the pan function. Since my box is 100 kpc in each direction, in code units, I attempted to set the width of my box:</p>
<p><br>
</p>
<p>#read in my data with the proper north and normal vectors to get the orientation right<br>
</p>
<p>proj = OffAxisProjectionPlot(ds,normal,'density',center=gal_center,north_vector=north)
</p>
<p><br>
</p>
<p>#this should set the box to be 50 kpc in the x direction and 70 kpc in the y direction</p>
<p>proj.set_width((.5,.7))</p>
<p><br>
</p>
<p>#pan the box 15 kpc to the right<br>
</p>
<p>proj.pan((0.15,0))</p>
<p><br>
</p>
<p>proj.show()</p>
<p><br>
</p>
<p>However, when I show the plot, the pan() function has not shifted it at all. Is there a way to manually set the limits to what I need to, or to properly use the pan function?</p>
<p><br>
</p>
<p>Thanks again for all the help, you guys have been great about getting back to me quickly.</p>
<p><br>
</p>
<p>Best,</p>
<p><br>
</p>
<p>David<br>
</p>
</body>
</html>