Hi, Nathan--

Thanks!
 
You can change the axes units using the set_width function, which accepts a (width, unit) tuple or a tuple of such tuples.

Does that change the actual data represented?  
 
You can change the unit of the image with the set_unit function.

My dataset doesn't have any intrinsic units, is there an easy way to tell the dataset how to get from code to physical units?  I feel like this question has been asked before, but I can't find the answer, sorry about that. 

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.