<div dir="ltr"><div><div>Hi Nathan and Matt,<br></div>thanks for a prompt response. Specifying the center as pointed out by Matt in slice plot does the trick. Nathan, I tried to make a plot with a width of 1pc using the recipe I pasted earlier. Please let me know if it is not clear.<br>
</div>Cheers<br>Latif<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 26, 2013 at 9:13 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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"><div><div class="h5">On Apr 26, 2013 3:10 PM, "Latif" <<a href="mailto:latifne@gmail.com" target="_blank">latifne@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<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></div></div><div class="im">_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">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></div></blockquote></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><br></div>