[yt-users] log scale image for zero dynamic range

Nathan Goldbaum nathan12343 at gmail.com
Sat May 17 16:50:35 PDT 2014


Hi Chang-Goo

If you explicitly set the limits of the colorbar using the set_zlim
function you will avoid the zero dynamic range check.  That will also keep
the colorbar limits the same from frame to frame.

Nathan

On Saturday, May 17, 2014, Chang-Goo Kim <cgkim at astro.princeton.edu> wrote:

> Hi all,
>
> When initial condition is uniform, it has zero dynamic range. Although it
> has no dynamic range, sometimes I need to plot it with log scale colorbar
> to make a movie with the same colorbar for later times. But, yt forced
> switch to linear colorbar. How can I make yt not to do that.
>
> Thanks,
>
> Chang-Goo
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20140517/e9214240/attachment.html>


More information about the yt-users mailing list