[yt-dev] Issue #1270: unable to plot created field (yt_analysis/yt)

Rajika Kuruwita issues-reply at bitbucket.org
Thu Sep 1 16:28:15 PDT 2016


New issue 1270: unable to plot created field
https://bitbucket.org/yt_analysis/yt/issues/1270/unable-to-plot-created-field

Rajika Kuruwita:

Hi there,

I have created some fields. It is able to plot some but others (particularly my Enclosed mass field and every other field that uses that field) cannot be plotted. When I try to use Sliceplot the warning "Plot image for field ('gas', 'Enclosed_Mass') has zero dynamic range. Min = Max = 0.000000.". However, when the field is retrieved using dd['Enclosed_Mass'], it is not all zero, in fact min=6.01427540665e+32 g and max=2.11538515805e+33 g.

This field is not created in the conventional way, with one to one matrix math, and it is a bit slow to calculate because I used radial bins to approximate the value. But I think the main issue is that, the field is non-zero everywhere, but Sliceplot is unable to plot the field or other fiends that use it.




More information about the yt-dev mailing list