
Hi, all-- When I make a plot window, the axes are centered on the window center and go from \pm 0.5. Is it possible to have those aligned with the thing I plotted? For instance, i have a region reg = pf.h.region(Center,Left,Right) proj = pf.h.proj( 0, 'Density', source=reg) I'd like the center of the axes to be on Center, rather than 0. How do I do that? Thanks, d. -- Sent from my computer.

Hey Dave, Check out the origin keyword. There are a number of options to set coordinate system for plot window plots. Let us know if one of the available options doesn't fit your needs. -Nathan On Tue, Apr 16, 2013 at 11:23 AM, david collins <antpuncher@gmail.com>wrote:
Hi, all--
When I make a plot window, the axes are centered on the window center and go from \pm 0.5. Is it possible to have those aligned with the thing I plotted?
For instance, i have a region reg = pf.h.region(Center,Left,Right) proj = pf.h.proj( 0, 'Density', source=reg)
I'd like the center of the axes to be on Center, rather than 0. How do I do that?
Thanks, d.
-- Sent from my computer.
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

That did it. Thanks, Nathan! d. On Tue, Apr 16, 2013 at 12:25 PM, Nathan Goldbaum <nathan12343@gmail.com>wrote:
Hey Dave,
Check out the origin keyword. There are a number of options to set coordinate system for plot window plots. Let us know if one of the available options doesn't fit your needs.
-Nathan
On Tue, Apr 16, 2013 at 11:23 AM, david collins <antpuncher@gmail.com>wrote:
Hi, all--
When I make a plot window, the axes are centered on the window center and go from \pm 0.5. Is it possible to have those aligned with the thing I plotted?
For instance, i have a region reg = pf.h.region(Center,Left,Right) proj = pf.h.proj( 0, 'Density', source=reg)
I'd like the center of the axes to be on Center, rather than 0. How do I do that?
Thanks, d.
-- Sent from my computer.
_______________________________________________ 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
-- Sent from my computer.
participants (3)
-
david collins
-
David Collins
-
Nathan Goldbaum