<div dir="ltr">Hello:<div><br></div><div>Can you please attach the screen output? Perhaps you are missing a file that is needed to set colors.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 24, 2020 at 1:26 PM Mohd Noor'Arifin Bin Hj Yussof via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:"Times New Roman",Times,serif">
<p><span style="font-size:12pt">Dear NCL,</span><br>
</p>
<div dir="ltr" style="font-size:12pt;color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:"Times New Roman",Times,serif">
<div>
<p><br>
</p>
<p>I have a problem where my plots are not showing any fill color at all. <br>
</p>
<p><br>
</p>
<p>Could you please guide me on how I could activate the contour fill colors? <br>
</p>
<p><br>
</p>
<p>I tested using WRF data with the sample script below and yet no colors showed on my plot.<br>
</p>
<p><br>
</p>
; Example script - plot terrain (using only basic NCL functions)<br>
; Note no map background info is available<br>
; November 2008<br>
load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>
begin<br>
a = addfile("./<a href="http://geo_em.d01.nc" target="_blank">geo_em.d01.nc</a>","r") ; Open a file<br>
<br>
type = "x11"<br>
; type = "pdf"<br>
; type = "ps"<br>
; type = "ncgm"<br>
wks = gsn_open_wks(type,"plt_geo_2") ; Create a plot workstation<br>
<br>
ter = a->HGT_M(0,:,:) ; Read the variable to memory<br>
res = True ; Create some plot resources<br>
res@cnFillOn = True ; Create a color fill plot<br>
res@gsnSpreadColors = True<br>
plot = gsn_contour(wks,ter,res) ; Create plot<br>
end
<p><br>
</p>
<p>Output image below:<br>
</p>
<p><br>
</p>
<p><img name="m_5637207775009369885_null" title="pastedImage.png" src="cid:172e6124427f456b1e51"><br>
</p>
<p><br>
</p>
<div id="gmail-m_5637207775009369885Signature">
<div name="divtagdefaultwrapper">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif">Kind Regards,</font><span style="font-family:Calibri,Arial,Helvetica,sans-serif"> </span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><span style="font-family:Calibri,Arial,Helvetica,sans-serif"><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif" color="#3366ff"><b><i>Arifin Yussof</i></b></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif"><i>Meteorological Officer</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif"><i>Officer in Digital Product Support and Numerical Weather Prediction (DSNP),</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif"><i>Strategy and </i></font><i style="font-family:"Times New Roman",Times,serif">Development </i><i style="font-family:"Times New Roman",Times,serif">Division,</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif" style="background-color:rgb(255,255,255)"><i>Brunei Darussalam Meteorological Department, </i></font><i style="font-family:"Times New Roman",Times,serif">Ministry
of Transport and Infocommunications</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif"><i><br>
</i></font></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><font face="Times New Roman, Times, serif"><b><i>Address: </i></b></font><i style="font-family:"Times New Roman",Times,serif">Block B23, Anggerek Desa Flat , </i><i style="font-family:"Times New Roman",Times,serif">Simpang
32-37, </i><i style="font-family:"Times New Roman",Times,serif">Kampung Anggerek Desa, </i><i style="font-family:"Times New Roman",Times,serif">Brunei Darussalam BB3713</i></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;text-align:left"><br>
</div>
<div style="text-align:left"><font face="Times New Roman, Times, serif">Telephone number: (+673)
<b>2381342 ext 233</b> - Website:</font><font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><a href="http://www.met.gov.bn" id="gmail-m_5637207775009369885NoLP" style="font-family:Calibri,Arial,Helvetica,sans-serif" target="_blank"><font face="Times New Roman, Times, serif">http://www.met.gov.bn</font></a> -<font face="Times New Roman, Times, serif" style="font-family:Calibri,Arial,Helvetica,sans-serif"> </font><span style="font-family:"Times New Roman",Times,serif">Instagram/Facebook:
</span><b style="font-family:"Times New Roman",Times,serif">@bruneiweather </b><span style="font-family:"Times New Roman",Times,serif">- Mobile App:
<b>Brunei WX</b> </span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif;font-size:small"><br>
</span></div>
<div style="text-align:left"><span style="font-family:"Times New Roman",Times,serif"><font color="#00ccff" size="5"><b><i>Helping you understand weather better</i></b></font></span></div>
</div>
</div>
</div>
</div>
<br>
<br>
<br>
<hr>
<font size="1" face="calibri"><b>Privileged/Confidential</b> information may be contained in this message. If you are neither the intended recipient and have received this message in error, please delete this message and notify the sender immediately.
<b>Strict Prohibition: </b>This message if received in error, whether in part or in whole, should not be reviewed, retained, copied, reused, disclosed, distributed or used for any purpose whatsoever. Such unauthorised use may be unlawful and may contain material
protected by the Official Secrets Act (Cap 153) of the Laws of Brunei Darussalam.
<b>Disclaimer</b> The Government of His Majesty the Sultan and Yang Di-Pertuan of Brunei Darussalam accepts no responsibility for loss or damage arising from the use of this message. This message shall not operate to bind to any order or contract unless pursuant
to an explicit written agreement. </font><br>
<br>
<br>
</div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div>