[yt-users] sliceplots for setting maximum temperature at the center

Nathan Goldbaum nathan12343 at gmail.com
Sun Nov 20 09:50:44 PST 2016


Hi Turhan,

The center is not a positional argument, you need to say "center=c" when
you create your plot.

Nathan

On Sun, Nov 20, 2016 at 12:44 PM turhan nasri <turhannasri at gmail.com> wrote:

> Hi people,
>
> I wanted to to get slices for temperature and temperature gradient
> magnitude setting the maximum temperature at the center. I used yt's
> feature:
>
> v,c = pf.h.find_max('temperature') #set center at max_temp
>
> and got the slices, however, my slice outputs clearly show the maximum
> temperature was not set at center. I am sharing the python code for the
> slices and also my output files.
> this code worked when I created density slices and max_dens was set at
> center, I don't see it isn't working out for temperature. Thanks for your
> help
>
> Turhan
>
>
> _______________________________________________
> 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/20161120/4be2e979/attachment-0001.html>


More information about the yt-users mailing list