[yt-dev] PhasePlot units+

Nathan Goldbaum nathan12343 at gmail.com
Wed May 21 14:42:22 PDT 2014


On Wed, May 21, 2014 at 2:31 PM, Nathan Goldbaum <nathan12343 at gmail.com>wrote:

>
>
>
> On Wed, May 21, 2014 at 2:26 PM, Sam Leitner <sam.leitner at gmail.com>wrote:
>
>> Hi yt folks,
>>
>> I ran into a problem with PhasePlot that's also apparent in the docs. See
>> the last couple of plots here:
>> http://yt-project.org/docs/dev-3.0/analyzing/units/units_and_plotting.html
>> the color bar doesn't re-scale with set_unit changes currently. I
>> couldn't easily reverse engineer what is done to get this right in e.g.
>> slice plot (but, as a work-around, I just defined a new field with the
>> correct units).
>>
>>
> Argh, good point!  I will fix this.
>

PR issued:
https://bitbucket.org/yt_analysis/yt/pull-request/917/fixing-set_unit-for-phaseplot-which-was/diff


>
>
>> Also, does PhasePlot have set_x/ylim functionality that I'm not finding?
>>
>>
> Not yet although it wouldn't be hard to add. Right now you need to supply
> a custom profile object to the PhasePlot constructor.
>
>
>> Thanks!
>> Sam
>>
>> _______________________________________________
>> yt-dev mailing list
>> yt-dev at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20140521/5f0831e0/attachment.htm>


More information about the yt-dev mailing list