<p dir="ltr">Hi Latif,</p>
<p dir="ltr">Try specifying center="max" when creating the SlicePlot.</p>
<p dir="ltr">Matt</p>
<div class="gmail_quote">On Apr 26, 2013 3:10 PM, "Latif" <<a href="mailto:latifne@gmail.com">latifne@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Hi all,<br></div>I am trying to create a simple slice plot for the central 1 pc of a simulation box of size  1 mpc using the following  simplest script.  Problem occurs when I set plot width  as can be seen in attached plot.  I tried stable version of yt as well development fork but did not get any success. Slice  works well without any problem if I use pc.add_slice method.  Any ideas what is going wrong here. <br>

</div><div>thanks in advance,<br></div><div>Cheers<br>Latif  <br></div><div><span><br>SlicePlot</span><span>(</span><span>pf</span><span>,</span> <span>'x'</span><span>,</span> <span>"Density"</span><span>,</span> <span>width</span> <span>=</span> <span>(</span><span>800.0</span><span>,</span> <span>'kpc'</span><span>))</span><span>.</span><span>save</span><span>()</span><br>

</div><br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div>