<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi There,<div class=""><br class=""></div><div class="">I tried a couple of hours already on changing the color table in the wrf_contour function. It seems that other than the default color map it is problematic to apply any other color maps.</div><div class="">What I really want to apply is the symmetrical color tables like BlWhRe. I scaled my data contour parameter as (/-10.,10.,10./) for example to check if this color table displays the white color. It is not. I want to have the white color displaying the 0s in the data, would you show me how? And also the main problem in applying this color table in the wrf_contour is that the offset is significant which means the white color never centers at the 0.</div><div class="">Part of my codes are here:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp;&nbsp;<span style="font-variant-ligatures: no-common-ligatures; background-color: #e6e600" class="">cmap</span> = read_colormap_file("BlWhRe")</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; <span style="font-variant-ligatures: no-common-ligatures; background-color: #e6e600" class="">cmap</span>_r = <span style="font-variant-ligatures: no-common-ligatures; background-color: #e6e600" class="">cmap</span>(::-1,:)</div></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;;opts@gsnSpreadColors = True</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; &nbsp; &nbsp; opts@cnFillColors = <span style="font-variant-ligatures: no-common-ligatures; background-color: #e6e600" class="">cmap</span>_r</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; &nbsp; &nbsp; delete(opts@ContourParameters)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; &nbsp; &nbsp; opts@ContourParameters = (/ -150., 150., 10. /)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; &nbsp; &nbsp; contour_pbl_diff = wrf_contour(pbl_irri,wks,pbl_ir-pbl_no,opts)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;" class="">&nbsp; &nbsp; &nbsp; &nbsp; plot(2) = wrf_map_overlays(wrf,wks,(/contour_pbl_diff/),pltres,mpres)</div></div><div class=""><br class=""></div><div class="">I even tried subset the BlWhRe to select the range centered at the white color (36:68,37:67,38:66...) but the offset is still there.</div><div class=""><br class=""></div><div class="">Thanks..</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">L.</div></body></html>