<div dir="ltr"><div class="gmail_default" style="font-size:small">To add to Alan&#39;s email, you can look at the examples on this page, for an example how to reproduce the labelbar that you showed:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><a href="http://www.ncl.ucar.edu/Applications/classification.shtml">http://www.ncl.ucar.edu/Applications/classification.shtml</a><br></div><div class="gmail_default" style><br></div><div class="gmail_default" style>I believe most of these plots are done with cnFillMode set to RasterFill, as Alan suggested.</div><div class="gmail_default" style><br></div><div class="gmail_default" style>--Mary</div><div class="gmail_default" style><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 17, 2015 at 4:53 PM, Alan Brammer <span dir="ltr">&lt;<a href="mailto:abrammer@albany.edu" target="_blank">abrammer@albany.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Not sure if anyone replied to this. </div><div class="gmail_default" style="font-family:verdana,sans-serif">I&#39;m not really sure what the question is, the script seems to be doing 99% of what you want from it. <br></div><div class="gmail_default" style="font-family:verdana,sans-serif">The edits I would make to better represent the categorical nature are based on the examples here: <a href="https://www.ncl.ucar.edu/Applications/classification.shtml" target="_blank">https://www.ncl.ucar.edu/Applications/classification.shtml</a></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I&#39;d change the fill type res@cnFillMode to either &quot;RasterFill&quot; or &quot;CellFill&quot; so that the land types are not interpolated and smoothed over. </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I&#39;d also either chose a more distinct colourtable though that may be difficult so copying from an example on the above link you amy be better to name each colour.  Make sure the number of name colours matching the number of levels/categories of the data you want to plot though. </div><div class="gmail_default" style="font-family:verdana,sans-serif">.e.g</div><div class="gmail_default"><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><font face="monospace, monospace">colorscheme = (/&quot;cadetblue1&quot;, &quot;darkgreen&quot;, &quot;chartreuse&quot;, &quot;olivedrab3&quot;,&quot;palegreen&quot;,\
                &quot;darkseagreen&quot;,&quot;mediumpurple1&quot;,&quot;mistyrose&quot;,&quot;burlywood3&quot;,&quot;gold&quot;,\
                &quot;tan1&quot;,&quot;royalblue&quot;,&quot;lightgoldenrod1&quot;,&quot;red&quot;,&quot;lightgoldenrod4&quot;,&quot;white&quot;,\
                &quot;lightsteelblue&quot;,&quot;grey90&quot;/) </font></pre><pre style="color:rgb(0,0,0);word-wrap:break-word;white-space:pre-wrap"><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="monospace, monospace"> res@cnFillPalette    = colorscheme   </font></pre><pre style="font-family:verdana,sans-serif;word-wrap:break-word;white-space:pre-wrap"><br></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">You can see further examples on the above link about setting up some type of legend or color bar. </font></pre></pre></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Sat, Jun 13, 2015 at 7:13 AM, saeed bayat <span dir="ltr">&lt;<a href="mailto:saeedbayat7276@gmail.com" target="_blank">saeedbayat7276@gmail.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Dear NCL users<br></div>I want to plot landuse of RegCM4 data. I attached the script, output plot and the target plot that I want. The problem is, I am pretty new in NCL and do not have any idea how to catch the solution. Also attached the output of ncl_filedump to understand the structure of data.<br><br></div>Best Regards<span><font color="#888888"><br clear="all"><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Abdolhalim Bayat<div>Ph.D Candidate of Synoptic Climatology</div><div>University of Tehran (Iran)<br></div></div></div></div></div></div></div>
</div></div></div></font></span></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>