[yt-users] Plot window question

David Collins dcollins4096 at gmail.com
Fri Jun 26 09:43:14 PDT 2015


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 at 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 at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>


-- 
-- Sent from a computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20150626/22f5c7a2/attachment.html>


More information about the yt-users mailing list