[yt-users] Making a projection of a sphere/disk

Britton Smith brittonsmith at gmail.com
Tue Jun 14 08:03:17 PDT 2016


Hi Markus,

Yes, you can use the data_source keyword to provide the data container you
want to project.
For example:

sphere = ds.sphere(...)
p = yt.ProjectionPlot(..., data_source=sphere)

Britton

On Tue, Jun 14, 2016 at 4:00 PM, Markus Haider <markus.haider at uibk.ac.at>
wrote:

> Hi,
>
> I was wondering if there is an easy way to make a projection plot through
> of a yt sphere or disk. The reason would be to check whether I actually
> selected the data I wanted to.
>
> Cheers,
> Markus
> _______________________________________________
> 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/20160614/6397a2f5/attachment.htm>


More information about the yt-users mailing list