Just want to add that this functionality is something I recently found a
need for. Is it perhaps possible to generate the camera object first,
rotate it, and then take a slice?
Max Katz
Ph.D. Candidate, Department of Physics and Astronomy
Vice President, Graduate Student Organization
Stony Brook University
http://astro.sunysb.edu/mkatz/
On Mon, May 18, 2015 at 11:37 AM, Nathan Goldbaum
On Monday, May 18, 2015, Jason Galyardt
wrote: Hi all,
Is there a convenient way to rotate a slice or projection plot (with associated axis labels and tick marks) in yt? My simulation domain is long and skinny, and yt automatically plots it with the long edge aligned horizontally; I'd like to rotate these 2D plots by 90 degrees.
I've wanted to add the ability to select the color at orientation for a while now, but right now the colorbar os assumed to be vertical.
I've combed through the docs and the only way I can think to do it would be to create a fixed resolution buffer and then manipulate it via matplotlib functions. The camera seems only applicable for 3D (and doesn't paint the axes, so far as I can tell).
This is likely the easiest way to do it right now.
http://yt-project.org/docs/dev/visualizing/manual_plotting.html
Any ideas or pointers to docs?
Thanks,
Jason
---- Jason Galyardt jeg@uga.edu Department of Physics and Astronomy University of Georgia
_______________________________________________ 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