[yt-users] color bounds

Matthew Turk matthewturk at gmail.com
Thu Mar 22 12:51:33 PDT 2012


Hi Renyue,

I've just added a clim option to the snapshot function for HEALpix
cameras.  You can now specify clim = (mi, ma) in your call to snapshot
and it should scale it appropriately.

You'll have to update yt; "yt update" should do this for you.

-Matt


On Thu, Mar 22, 2012 at 12:12 PM, Renyue Cen <cen at astro.princeton.edu> wrote:
> Hi,
>
> I have generated an all sky map of HI density that looks great by:
>
> volume = AMRKDTree(pf, le=center-radius/pf['1'],
>                   re=center+radius/pf['1'],
>                   fields=["MyNumberDensity"],
>                   log_fields=[False])
> cam = camera.HEALpixCamera(center, radius/pf['1'],
>                           nside = 64, pf = pf,
>                           fields = ["MyNumberDensity"],
>                           log_fields = [False],
>                           volume=volume)
>
> bitmap = cam.snapshot("allskyHI0000.png",units=r"\mathrm{cm}^{-2}")
>
> How could set the column density range, say, 10^15 to 10^24 cm^{-2}, instead
> of the default one that is used by the code?
>
> Thanks,
> Renyue
>
>
>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org



More information about the yt-users mailing list