<div dir="ltr">Hi Chang-Goo,<div><br></div><div>Take a look at this example notebook:</div><div><br></div><div><a href="https://gist.github.com/cc879dbab87d21bd233b979774d5ebf0" target="_blank">https://gist.github.com/cc879dbab87d21bd233b979774d5ebf0</a><br></div><div><br></div><div>You need to edit ds.coordinates.x_axis and ds.coordinates.y_axis. These two dictionaries are used by yt's plotting system to determine which coordinate is supposed to be along the x axis and which coordinate is supposed to be along the y axis for yt plots.</div><div><br></div><div>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.</div><div><br></div><div>-Nathan</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 11, 2016 at 4:24 PM, Chang-Goo Kim <span dir="ltr"><<a href="mailto:changgoo@princeton.edu" target="_blank">changgoo@princeton.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>Does anyone have a quick trick to transpose axes from SlicePlot? It seems not make sense to draw z-x slice, especially when I have an elongated box toward z.<br><br></div>Thanks,<br><br></div>Chang-Goo<br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div></div>