
Hi, I have a few quick questions: 1. How can I label the boxsize/axes for, e.g., box projections/slices? 2. How can I draw/outline the grid on a slice so it's immediately obvious what the resolution is? I know these are pretty basic questions, but after several hours of search I haven't been able to solve them... Thanks! --Molly

Hi Molly, Sorry to hear you had trouble finding answers to these questions. Both are available as modifiers to plots, which you call on a given plot in a plot collection. For example, from yt.mods import * pf = load("galaxy0110") pc = PlotCollection(pf) p = pc.add_slice("Density",2) pc.set_width(10,'kpc') p.modify['coord_axes']() # this labels p.modify['grids']() pc.save('molly') I've attached the output of that script from some data I had lying around. Unfortunately, as you can see, the coord_axes modifier is not terribly impressive at the moment. I'd be happy to talk to you off-list about improving it, if you need better than it can currently provide. All available plot modifications are listed at http://yt.enzotools.org/doc/visualizing/callbacks.html. jeff On Wed, Feb 9, 2011 at 12:20 PM, Molly Peeples <molly@astro.ucla.edu> wrote:
Hi,
I have a few quick questions:
1. How can I label the boxsize/axes for, e.g., box projections/slices?
2. How can I draw/outline the grid on a slice so it's immediately obvious what the resolution is?
I know these are pretty basic questions, but after several hours of search I haven't been able to solve them...
Thanks! --Molly _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
j s oishi
-
Molly Peeples