<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In order to change the labels on a labelbar plot, you need to provide a label for every box using the "lbLabelStrings" resource. If there's a particular box that you don't want a label for, use a blank string with "".</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">See the labelbar example page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml">http://www.ncl.ucar.edu/Applications/labelbar.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">and use your browser search to find "lbLabelStrings".</div><div class="gmail_default"><br></div><div class="gmail_default">Here's another good one:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/mask.shtml#ex4">http://www.ncl.ucar.edu/Applications/mask.shtml#ex4</a><br></div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 10:02 AM, Kwesi Quagraine <span dir="ltr"><<a href="mailto:starskykwesi@gmail.com" target="_blank">starskykwesi@gmail.com</a>></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;font-size:small">Hello Mary, thanks for the reply, I can make the plot as you have attached but the challenge was how to make the plot with dates on the label bar indicating the dates as attached.</div><span class="HOEnZb"><font color="#888888"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Kwesi</div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 23, 2017 at 6:52 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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-size:small">Kwesi,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If you are new to NCL, I suggest that you start by looking at this tutorial:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="https://dl.dropboxusercontent.com/u/8357888/homepage/tutoriais/ncl/NCL_Tutorial_V1.1.pdf" target="_blank">https://dl.dropboxusercontent.<wbr>com/u/8357888/homepage/tutoria<wbr>is/ncl/NCL_Tutorial_V1.1.pdf</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">It's a very nice step-by-step tutorial on how to create NCL graphics. This tutorial starts off with simple examples and then gradually moves onto more complex examples.</div><div class="gmail_default"><br></div><div class="gmail_default">To see some basic examples of plotting data over a map, go to our examples page:</div><div class="gmail_default"><br></div><div class="gmail_default">"Plotting data on a map"<br><a href="http://www.ncl.ucar.edu/Applications/plot_data_on_map.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/plot_data_on_map.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">This gives you an overview of how to understand your data so you know how to plot it correctly. You have data on a rectilinear grid, which is usually the easiest kind of data to plot, because the lat/lon arrays associated with your data are actually attached to the variable when you read the data in.</div><div class="gmail_default"><br></div><div class="gmail_default">Please see the attached script, which I started for you, based on examples dataonamap_1.ncl and dataonamap_7.ncl.</div><div class="gmail_default"><br></div><div class="gmail_default">Hopefully you can take it from here, by reading the above tutorial, and looking over some of the examples on our website:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">You may also want to see our examples page that is specifically for precipitation:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/HiResPrc.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/HiResPrc.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">It says "high-res" on the page, but really, you can use this for low resolution too.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-7430600112340537915h5">On Mon, Jan 23, 2017 at 1:59 AM, Kwesi Quagraine <span dir="ltr"><<a href="mailto:starskykwesi@gmail.com" target="_blank">starskykwesi@gmail.com</a>></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="m_-7430600112340537915h5"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hello was wondering if anyone could help me with this? thanks<br></div><div><div class="m_-7430600112340537915m_-8253317269602776403h5"><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Kwesi Quagraine</b> <span dir="ltr"><<a href="mailto:starskykwesi@gmail.com" target="_blank">starskykwesi@gmail.com</a>></span><br>Date: Sun, Jan 22, 2017 at 1:45 PM<br>Subject: Make a plot<br>To: "<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>" <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br><br><br><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small">Hello NCLers, I want to make a plot similar to the one attached with the data attached as well. I will be grateful if someone can point me in a direction. Thanks in advance.<br><br></div><div style="font-family:verdana,sans-serif;font-size:small">Regards,<br></div><div style="font-family:verdana,sans-serif;font-size:small">Kwesi<br><br><br></div><div style="font-family:verdana,sans-serif;font-size:small">var summary;<br clear="all"></div>Variable: pr<br>Type: float<br>Total Size: 22296240 bytes<br> 5574060 values<br>Number of Dimensions: 3<br>Dimensions and sizes: [time | 180] x [lat | 179] x [lon | 173]<br>Coordinates: <br> time: [15011.5..20455.5]<br> lat: [-46.25..42.75]<br> lon: [-25.25..60.75]<br>Number Of Attributes: 5<br> standard_name : precipitation_flux<br> long_name : Precipitation<br> units : kg m-2 s-1<br> _FillValue : 1e+20<br> cell_methods : time: mean<br>(0) Precipitation (kg m-2 s-1) : min=0 max=0.00116586<span class="m_-7430600112340537915m_-8253317269602776403m_6598273692244414244HOEnZb"><font color="#888888"><br><br>-- <br><div class="m_-7430600112340537915m_-8253317269602776403m_6598273692244414244m_-3153033468811644751gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Try not to become a man of success but rather a man of value-Albert Einstein</font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">University of Cape Coast|</font><span style="font-family:"trebuchet ms",sans-serif;font-size:12.8px">College of Agriculture and Natural Sciences|</span><span style="font-family:"trebuchet ms",sans-serif;font-size:12.8px">Department of Physics|</span></font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Team Leader|Recycle Up! Ghana|Technology Without Borders|</font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">Other emails: </font><span style="font-family:"trebuchet ms",sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@ucc.edu.gh" target="_blank">kwesi.quagraine@ucc.ed<wbr>u.gh</a>|</span><span style="font-family:"trebuchet ms",sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@teog.de" target="_blank">kwesi.quagraine@teog.de</a>|</span></font></div><div><span style="font-family:"trebuchet ms",sans-serif;font-size:12.8px"><font color="#0000ff">Mobile: <a href="tel:+233%2026%20617%203582" value="+233266173582" target="_blank">+233266173582</a></font></span></div></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Skype: quagraine_cwasi</font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Twitter: @Pkdilly</font></div><div><br></div></div></div></div></div></div></div></div>
</font></span></div>
</div><br><br clear="all"><br>-- <br><div class="m_-7430600112340537915m_-8253317269602776403m_6598273692244414244gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Try not to become a man of success but rather a man of value-Albert Einstein</font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif"><br></font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">University of Cape Coast|</font><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">College of Agriculture and Natural Sciences|</span><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">Department of Physics|</span></font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Team Leader|Recycle Up! Ghana|Technology Without Borders|</font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">Other emails: </font><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@ucc.edu.gh" target="_blank">kwesi.quagraine@ucc.ed<wbr>u.gh</a>|</span><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@teog.de" target="_blank">kwesi.quagraine@teog.de</a>|</span></font></div><div><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><font color="#0000ff">Mobile: <a href="tel:+233%2026%20617%203582" value="+233266173582" target="_blank">+233266173582</a></font></span></div></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Skype: quagraine_cwasi</font></div><div><font color="#0000ff" face="trebuchet ms, sans-serif">Twitter: @Pkdilly</font></div><div><br></div></div></div></div></div></div></div></div>
</div></div></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-7430600112340537915gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Try not to become a man of success but rather a man of value-Albert Einstein</font></div><div><font face="trebuchet ms, sans-serif" color="#0000ff"><br></font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">University of Cape Coast|</font><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">College of Agriculture and Natural Sciences|</span><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8000001907349px">Department of Physics|</span></font></div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Team Leader|Recycle Up! Ghana|Technology Without Borders|</font></div><div><font color="#0000ff"><font face="trebuchet ms, sans-serif">Other emails: </font><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@ucc.edu.gh" target="_blank">kwesi.quagraine@ucc.<wbr>edu.gh</a>|</span><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><a href="mailto:kwesi.quagraine@teog.de" target="_blank">kwesi.quagraine@teog.de</a><wbr>|</span></font></div><div><span style="font-family:'trebuchet ms',sans-serif;font-size:12.8px"><font color="#0000ff">Mobile: <a href="tel:+233%2026%20617%203582" value="+233266173582" target="_blank">+233266173582</a></font></span></div></div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Skype: quagraine_cwasi</font></div><div><font face="trebuchet ms, sans-serif" color="#0000ff">Twitter: @Pkdilly</font></div><div><br></div></div></div></div></div></div></div></div>
</div>
</div></div></blockquote></div><br></div>