
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? Thanks!! Stephanie -- Dr. Stephanie Tonnesen Alvin E. Nashman Postdoctoral Fellow Carnegie Observatories, Pasadena, CA stonnes@gmail.com

Hi Stephanie, On Wed, Jun 1, 2016 at 8:54 PM, Stephanie Tonnesen <stonnes@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@gmail.com
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Perfect! Thanks very much, this is just what I needed. -Stephanie -- Dr. Stephanie Tonnesen Alvin E. Nashman Postdoctoral Fellow Carnegie Observatories, Pasadena, CA stonnes@gmail.com On Wed, Jun 1, 2016 at 6:59 PM, Nathan Goldbaum <nathan12343@gmail.com> wrote:
Hi Stephanie,
On Wed, Jun 1, 2016 at 8:54 PM, Stephanie Tonnesen <stonnes@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@gmail.com
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Nathan Goldbaum
-
Stephanie Tonnesen