<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Kunal,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You said you were unable to plot the time series, but didn't give any information about why not. Do you mean you don't know how to do it, or do you have a script that is either giving you an error or the wrong plot? If you already have a script, then it would help if you provide some information about what you are trying to do, and how it's not working (i.e. include the error message, if there is one).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">We have many time series plots examples. Please go to the "tips" link from our examples page:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/">http://www.ncl.ucar.edu/Applications/</a><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/concepts_list.shtml">http://www.ncl.ucar.edu/Applications/concepts_list.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">From the second link, use your browser search to search for "time series". You will find several links that look like this:</div><div class="gmail_default"><br></div><div class="gmail_default"><b>Using a box plot to show the the median, minimum/maximum value, and the 25th/75th percentiles of two time series</b><br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/box_5.ncl">box_5.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/box.shtml#ex5">box plots</a>)<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><b>Drawing a time series plot</b><br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/ave_1.ncl">ave_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/ave.shtml#ex1">weighted averages</a>)<br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/bar_15.ncl">bar_15.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/bar.shtml#ex15">bar plots</a>)<br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/bar_horz_15.ncl">bar_horz_15.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/bar.shtml#ex15">bar plots</a>)<br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/climo_2.ncl">climo_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/climo.shtml#ex2">climatology</a>)<br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/demod_cmplx_1.ncl">demod_cmplx_1.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/spec.shtml#ex1">spectral analysis</a>)<br>
<a href="http://www.ncl.ucar.edu/Applications/Scripts/demod_cmplx_2.ncl">demod_cmplx_2.ncl</a> (<a href="http://www.ncl.ucar.edu/Applications/spec.shtml#ex2">spectral analysis</a>)<br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">To look at a particular example, note the example script name, like "climo_2.ncl", and then click on the text in parentheses next to it ("climatology"). This will take you to the examples page that has that example with a thumbnail and a short description.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please take a moment to look at other time series examples on this page. You may find something close to what you are trying to accomplish.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Good luck,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 13, 2017 at 1:59 AM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@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><div><div>Dear NCL user <br><br></div>I have masked the data so that I can get the values of the ocean only. using<br><br> mfile = addfile("/usr/local/lib/ncl/<wbr>lib/ncarg/data/cdf/<a href="http://landsea.nc" target="_blank">landsea.nc</a>"<wbr>,"r")<br> lsmask = mfile->LSMASK<br> lsm = landsea_mask(lsmask,var&<wbr>latitude,var&longitude)<br> var_ocean_only = mask(var,lsm.eq.0,True)<br> copy_VarMeta(var,var_ocean_<wbr>only)<br> plot = gsn_csm_contour_map(wks,var_<wbr>ocean_only,res)<br><br></div><div>I am able to plot the spatial map but not able to plot time series. <br></div>Now I need to plot the time series data of 30 days.<br></div>please provide some information on that. <br><div><div><br><br><br clear="all"><div><div><div><div class="m_-4224582287310662741gmail_signature"><div dir="ltr"><div><div>Thank You<br></div><div dir="ltr"><div><br></div><div><br></div><div><br></div><div><p style="margin:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div></div></div></div>
</div></div></div></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>