[yt-users] color bounds

Renyue Cen cen at astro.princeton.edu
Thu Mar 22 09:12:43 PDT 2012


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







More information about the yt-users mailing list