<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Apple Color Emoji";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor=white lang=EN-GB link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>Hi Beata,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>It worked perfectly per your instructions. Thanks for the help </span><span style='font-size:11.0pt;font-family:"Apple Color Emoji"'>☺</span><span style='font-size:11.0pt'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Have a great day!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>/M<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Marston S. Johnston, PhD<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Department of Earth Sciences<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>University of Gothenburg, Sweden<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Email: <a href="mailto:marston.johnston@gu.se"><span style='color:#0070C0'>marston.johnston@gu.se</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>SkypeID: marston.johnston <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Phone: +46-31-7864901 <o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Only the fruitful thing is true!<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='color:black'>From: </span></b><span style='color:black'>Beáta Szabó-Takács <szabo.b@czechglobe.cz><br><b>Date: </b>Monday, 15 May 2017 at 11:05<br><b>To: </b>Marston Johnston <shejo284@gmail.com>, NCL Talk <ncl-talk@ucar.edu><br><b>Subject: </b>RE: replace part of colormap</span><span style='color:black;mso-fareast-language:EN-GB'><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-family:"Times New Roman"'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>Hi Marston,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>You can produce a new .rgb color palette by copy „amwg256.rgb” and rename it e.g „amwg2”. Open the created amwg2.rgb file and rewrite the first rgb numbers: 146 112 219 to 255 255 255 and save the file. After that, you have to set your environment variable based on http://www.ncl.ucar.edu/Document/Graphics/create_color_table.shtml to use awg2.rgb in your script.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>I hope I could help you!</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>Best regards,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'>Beata</span><o:p></o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:11.0pt;mso-fareast-language:HU'>From:</span></b><span lang=EN-US style='font-size:11.0pt;mso-fareast-language:HU'> ncl-talk-bounces@ucar.edu [mailto:ncl-talk-bounces@ucar.edu] <b>On Behalf Of </b>Marston Johnston<br><b>Sent:</b> Monday, May 15, 2017 10:45 AM<br><b>To:</b> NCL Talk <ncl-talk@ucar.edu><br><b>Subject:</b> [ncl-talk] replace part of colormap</span><o:p></o:p></p></div></div><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>Hi,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>I am using the color palette "amwg” which sets a light purple color for the lowest value range.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>However, I would like to set this part of the spectrum to “white” instead.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>I cannot find an example of how this can be done – if it can be done.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>Does anyone have any idea? Appreciate your thoughts.</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>Best,</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>/M</span><o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt'> </span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Marston S. Johnston, PhD</span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Department of Earth Sciences</span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>University of Gothenburg, Sweden</span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Email: <a href="mailto:marston.johnston@gu.se"><span style='color:#0070C0'>marston.johnston@gu.se</span></a></span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>SkypeID: marston.johnston </span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Phone: +46-31-7864901 </span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>Only the fruitful thing is true!</span><o:p></o:p></p><p class=MsoNormal><span style='font-family:"Times New Roman";color:#0070C0;mso-fareast-language:EN-GB'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p></div></body></html>