[yt-users] problem with zoom slice plot

Matthew Turk matthewturk at gmail.com
Fri Apr 26 12:13:30 PDT 2013


Hi Latif,

Try specifying center="max" when creating the SlicePlot.

Matt
On Apr 26, 2013 3:10 PM, "Latif" <latifne at gmail.com> wrote:

> Hi all,
> 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.
> thanks in advance,
> Cheers
> Latif
>
> SlicePlot(pf, 'x', "Density", width = (800.0, 'kpc')).save()
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130426/4caf9dad/attachment.html>


More information about the yt-users mailing list