Hi Elizabeth,

You should be able to create a derived field (http://yt.enzotools.org/doc/advanced/creating_derived_quantities.html) that is not negative and then it should show up as logarithmic.  Maybe make an PotentialFieldMagnitude quantity using the absolute magnitude or something similar.  You may need to specify the take_log=True keyword in the add_quantity call, but True should be the default keyword argument.

Sam

On Thu, Jun 9, 2011 at 10:57 AM, Elizabeth Tasker <taskere@mcmaster.ca> wrote:
Hi,

I'm doing slices of the potential field:

p = pc.add_slice("PotentialField", 2)
pc.set_width(10, 'kpc')
p.set_zlim(-4500,-2500)
p.modify["grids"]()

Is there a way to force the scale to the logarithmic like for density slices?

thanks,

Elizabeth
_______________________________________________
yt-users mailing list
yt-users@lists.spacepope.org
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org