<div dir="ltr"><div dir="ltr">Hi Kai,<div><br></div><div>`Brain.add_data` accepts a list or array of colors for the colormap parameter: <a href="http://pysurfer.github.io/generated/surfer.Brain.html#surfer.Brain.add_data">http://pysurfer.github.io/generated/surfer.Brain.html#surfer.Brain.add_data</a></div><div><br></div><div>Best,</div><div>Michael</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 11, 2018 at 2:51 PM, Kai Wang <span dir="ltr"><<a href="mailto:Kai.Wang-1@colorado.edu" target="_blank">Kai.Wang-1@colorado.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="ZH-CN" link="#0563C1" vlink="#954F72">
<div class="m_-5733591457691375485WordSection1">
<p class="MsoNormal"><span lang="EN-US">Dear PySurfer experts,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"> 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?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Thank you very much,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Kai Wang, Ph.D.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Postdoctoral Research associate<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Institute of Cognitive Science, University of Colorado Boulder<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">1777 Exposition Dr., Boulder, CO, 80301<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="mailto:kai.wang-1@colorado.edu" target="_blank">kai.wang-1@colorado.edu</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Neuroimaging mailing list<br>
<a href="mailto:Neuroimaging@python.org">Neuroimaging@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/neuroimaging" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/neuroimaging</a><br>
<br></blockquote></div><br></div>