<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Rick,
<div class=""><br class="">
</div>
<div class="">Thanks for your help. I was mostly concerned about finding similarly sized color tables in the color table and using the cnFillPalette to call the tables, so that each plot would have a unique colorbar while still using the same plot res. </div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class="">-Jonathan</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Jul 6, 2021, at 5:21 PM, Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" class="">brownrig@ucar.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div class="">Hi Jonathan,</div>
<div class=""><br class="">
</div>
<div class="">I don't fully understand what you are trying to do, and why you might need named colors. So taking a guess here, there is the read_colormap_file() that you can use to read one of the colormaps show in the gallery link, and from that you can directly
assign the result to cnFillPalette</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://ncl.ucar.edu/Document/Functions/Built-in/read_colormap_file.shtml" class="">http://ncl.ucar.edu/Document/Functions/Built-in/read_colormap_file.shtml</a></div>
<div class=""><br class="">
</div>
<div class="">HTH...</div>
<div class="">Rick</div>
<div class=""><br class="">
</div>
</div>
<br class="">
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Jul 6, 2021 at 6:54 AM Buzan, Jonathan via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" class="">ncl-talk@mailman.ucar.edu</a>> wrote:<br class="">
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi NCL,<br class="">
<br class="">
The predefined colormaps are excellent examples of colors. <br class="">
However, from my experience, the gsn_define_colormap(wks, colors) limits the flexibility of NCL.<br class="">
<br class="">
Whereas, the res@cnFillPalette has flexibility. <br class="">
<br class="">
I am attempting to generate a multi paneled plot, and switching the res@cnFillPalette, but I still want to use the color maps.<br class="">
<br class="">
Is there a page that has “named colors” of the color maps? <br class="">
<a href="https://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml" rel="noreferrer" target="_blank" class="">https://www.ncl.ucar.edu/Document/Graphics/named_colors.shtml</a><br class="">
This page has example colors, but I find it difficult to reproduce these colormaps:<br class="">
<a href="https://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml" rel="noreferrer" target="_blank" class="">https://www.ncl.ucar.edu/Document/Graphics/color_table_gallery.shtml</a><br class="">
<br class="">
<br class="">
Cheers,<br class="">
-Jonathan<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank" class="">ncl-talk@mailman.ucar.edu</a><br class="">
List instructions, subscriber options, unsubscribe:<br class="">
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank" class="">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>