[Neuroimaging] [PySurfer] how to customize the colormap(LUT)?

Michael Waskom mwaskom at nyu.edu
Tue Sep 11 15:01:02 EDT 2018


Hi Kai,

`Brain.add_data` accepts a list or array of colors for the colormap
parameter:
http://pysurfer.github.io/generated/surfer.Brain.html#surfer.Brain.add_data

Best,
Michael

On Tue, Sep 11, 2018 at 2:51 PM, Kai Wang <Kai.Wang-1 at colorado.edu> wrote:

> Dear PySurfer experts,
>
>
>
>          I’m trying to plot 17 masks (a parcellation) on the brain surfer.
> Not finding the pre-defined colormaps ideal, I would like to customize the
> colors. I only need one color for each mask, not a range of colors. Can I
> specify RGBA values to use for each mask?
>
>
>
>
>
> Thank you very much,
>
> Kai Wang, Ph.D.
>
>
>
> Postdoctoral Research associate
>
> Institute of Cognitive Science, University of Colorado Boulder
>
> 1777 Exposition Dr., Boulder, CO, 80301
>
> kai.wang-1 at colorado.edu
>
>
>
> _______________________________________________
> Neuroimaging mailing list
> Neuroimaging at python.org
> https://mail.python.org/mailman/listinfo/neuroimaging
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20180911/607825fe/attachment.html>


More information about the Neuroimaging mailing list