[yt-users] Slice Plot axes

Nathan Goldbaum nathan12343 at gmail.com
Wed Jun 1 18:59:16 PDT 2016


Hi Stephanie,

On Wed, Jun 1, 2016 at 8:54 PM, Stephanie Tonnesen <stonnes at gmail.com>
wrote:

> Hi all,
>
> I think this is an easy one.  When I do a SlicePlot with my slice in the
> "y" direction, I get the z axis on the horizontal and the x axis on the
> vertical.  How do I force the z axis to be vertical and the X axis to be
> horizontal?
>


Take a look at this example notebook:
https://gist.github.com/anonymous/cc879dbab87d21bd233b979774d5ebf0

The default is what it is (which admittedly doesn't look great for a disk
simulation where the vertical direction aligns with the z axis) so that yt
plots always use a right-handed coordinate system.

-Nathan



>
> Thanks!!
>
> Stephanie
>
> --
> Dr. Stephanie Tonnesen
> Alvin E. Nashman Postdoctoral Fellow
> Carnegie Observatories, Pasadena, CA
> stonnes at gmail.com
>
> _______________________________________________
> 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/20160601/3613dbec/attachment.html>


More information about the yt-users mailing list