[yt-users] problem with zoom slice plot
Latif
latifne at gmail.com
Fri Apr 26 12:40:30 PDT 2013
Hi Nathan and Matt,
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.
Cheers
Latif
On Fri, Apr 26, 2013 at 9:13 PM, Matthew Turk <matthewturk at gmail.com> wrote:
> 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
>>
>>
> _______________________________________________
> 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/bd3c92bf/attachment.htm>
More information about the yt-users
mailing list