When you call load, supply an overload_units dictionary. See:


Thanks to John ZuHone for implementing that functionality and making sure it's working and tested for all the frontends.

Gah, my search-fu is being sluggish today.  Thanks a ton!  And thanks, John!

d.
 
 

d.
 

Hope that helps,

Nathan


On Friday, June 26, 2015, David Collins <dcollins4096@gmail.com> wrote:
Hi, Everybody--

I'm looking to find a way to change the units on the x- and y-axes for a projection.  Is it possible to do that directly on the plot window or projection object?  Or, is it possible to make an arbitrary unit conversion once a dataset has been loaded?

Thanks!
d.

--
-- Sent from a computer.

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




--
-- Sent from a 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 a computer.