[yt-users] yt colormaps
Renyue Cen
cen at astro.princeton.edu
Fri Jan 11 08:27:29 PST 2013
Hi Matt,
Thanks for your prompt reply.
I was using imshow in conjunction with tf = ColorTransferFunction((lim1,lim2)) and tf.add_layers(8,colormap=mycmap,w=widt,alpha=alpha),
for which I can use mycmap=cm.spectral or cm.spectral to mention a few, but when I try cm.jet, it does not seem to exist,
and I am still trying to find a suitable colormap for this application.
Thanks,
Renyue
On Jan 11, 2013, at 11:21 AM, Matthew Turk wrote:
> Hi Renyue,
>
> This list shows all of the colormaps available for anything that uses
> matplotlib (such as projections, profiles, but not anything that uses
> write_image or write_png or snapshot):
>
> http://www.scipy.org/Cookbook/Matplotlib/Show_colormaps
>
> You can also use these colormaps anywhere:
>
> algae (default)
> kamae
> black_green
> cubehelix
>
> There are also a whole bunch of IDL and other colormaps that are
> accessible, although I have not used them, which you can see a list of
> by doing:
>
> from yt.visualization._colormap_data import color_map_luts
> print "\n".join(sorted(color_map_luts))
>
> -Matt
>
> On Fri, Jan 11, 2013 at 11:17 AM, Renyue Cen <cen at astro.princeton.edu> wrote:
>> Hi,
>>
>> Where is the list of available colormaps located so I can see their colors?
>>
>> 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