<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><meta http-equiv="Content-Type" content="text/html charset=utf-8"><div class="">Hello NCL community,&nbsp;</div><div class=""><br class=""></div><div class="">I am fairly new to working with graphics in NCL.&nbsp;</div><div class="">I am trying to mask global data (for a significance threshold).</div><div class=""><br class=""></div><div class="">I am using the “mask” feature to accomplish this and contouring the results with “gsn_csm_contour_map”</div><div class="">This works fairly well, but as you can seem the masking feature create some jagged artifacts at the boundary which results in breaks in the thick black contour lines.</div><div class=""><br class=""></div><div class="">Is there a better to somehow smooth these edges, or could I perhaps overlay another set of contour lines (unfilled) to at least get continuous lines?</div><div class="">I’ve tried the “smth9_Wrap” function without much success.</div><div class=""><br class=""></div><div class="">Thanks,&nbsp;</div><div class="">Patrick</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">relevant lines of code look like this:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 21px; font-family: Menlo;" class="">sig = mask(X,abs(X) .lt. 0.37,False) ;; only show values whose abs() gt 0.37</div><div style="margin: 0px; font-size: 21px; font-family: Menlo;" class="">plot = gsn_csm_contour_map(wks,sig,res)</div></div><div style="margin: 0px; font-size: 21px; font-family: Menlo;" class=""><br class=""></div><div style="margin: 0px; font-size: 21px; font-family: Menlo;" class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><img apple-inline="no" id="A84C9623-BC80-4E77-8D3D-2DF97852DC12" height="102" width="111" apple-width="yes" apple-height="yes" src="cid:D4B7DCAB-30BA-488E-ACDA-B38B027F1CAD" class=""></div><div><br><br>Patrick<div><div><br></div><div>Sent from my iPhone&nbsp;</div></div></div></body></html>