[yt-users] Colormaps

Cameron Hummels chummels at gmail.com
Fri Sep 6 15:22:33 PDT 2013


Hi Elizabeth,

Sure, I could include a little blurb about how to specify the cmap using
the plot modifications.

Also, the api docs (like the descriptions for each function) only show up
on the yt-project.org docs page (i.e. http://yt-project.org/doc/index.html),
which only shows the docs from the previous stable version by default.  For
the most up to date docs, you can go to yt.readthedocs.org, but those lack
the API docs, as well as any of the automatically generated images
(resulting from cookbook entries or the colormaps page).

Cameron


On Fri, Sep 6, 2013 at 3:15 PM, Elizabeth Tasker <
tasker at astro1.sci.hokudai.ac.jp> wrote:

> Hey, this is awesome!
>
> Could we add an example of how to specify a colormap for a slice?
>
> Is it:
>
> SlicePlot(pf, 2, "Density", plot_args=dict(cmap='Haze'))
>
> or
>
>
> SlicePlot(pf, 2, "Density", cmap='Haze')
>
> or something for the whole script, like through map_to_colormap?
>
> ?
>
> Did the descriptions of each function that show the available arguments
> get removed from the docs? It doesn't seem to come up when I search anymore.
>
> Elizabeth
>
>
>
> On Sep 6, 2013, at 5:56 PM, Matthew Turk <matthewturk at gmail.com> wrote:
>
> > Hi all,
> >
> > Just a quick note -- thanks to some awesome work mostly by Cameron,
> > but with assists from Kacper and Nathan, we now have a diagram of
> > colormaps in yt:
> >
> > http://yt.readthedocs.org/en/latest/visualizing/colormaps/index.html
> >
> > It covers the native matplotlib colormaps, as well as the ones yt
> > includes in addition.  (Such as little-known gems like kamae,
> > cubehelix and our very own algae.)
> >
> > This will be on the main yt docs site once we release 2.6.  On the
> > main site, there'll even be a demonstration of a projection in
> > different colormaps.
> >
> > Thanks, Cameron!
> >
> > -Matt
> > _______________________________________________
> > yt-users mailing list
> > yt-users at lists.spacepope.org
> > http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>



-- 
Cameron Hummels
Postdoctoral Researcher
Steward Observatory
University of Arizona
http://chummels.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20130906/482ebc9e/attachment.htm>


More information about the yt-users mailing list