<div dir="ltr"><div><div>Dear NCL users<br><br></div>How to create the minor tick mark. <br><br></div>I am using the scripts given below<br><br><br>;****************************************************<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl" <br>load "$NCARG_ROOT/lib/ncarg/nclscripts/contrib/time_axis_labels.ncl" <br>;****************************************************<br>begin<br>;***************************<br>; read in data<br>;***************************<br> f = addfile ("/home/kunal/Pictures/NCL_Scripts/plot/<a href="http://cloud.nc">cloud.nc</a>" , "r")<br> t = f->Cloud_Optical_Thickness_Combined_QA_Mean <br><br> TDim = f->TDim ; this is our x<br> nTDim = dimsizes(TDim)<br><br> <br> wks_type = "pdf" <br> wks_type@wkPaperSize = "A4"<br> wks = gsn_open_wks(wks_type,"cloud3")<br><br><br> ; resources for "left" variable<br> res = True <br> res@xyLineThicknesses = 2.5 ; thicker line<br> res@xyLineColor = "Blue"<br> res@trXMinF = 1 ; set minimum X-axis value <br> res@trXMaxF = 91 ; set maximum X-axis value <br><br> res@tmXBMode = "Manual"<br> res@tmXBMode = "Explicit" <br> res@tmXBValues = ispan(1,91,10)<br> res@tmXBLabels = res@tmXBValues <br> res@tmXBMinorLengthF = 0.01<br><br> <br><br> res@tiMainString = "Cloud_Optical_Thickness" <br> plot = gsn_csm_xy(wks,TDim,t,res)<br> <br> end<br><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio & Atmospheric Science Division <br></div><div>CSIR - National Physical Laboratory<br></div><div>New Delhi - 110012<br><br></div><div><br></div><div><br></div><div><br></div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div>
<br><div class="gmail_quote">On Sat, Oct 25, 2014 at 12:21 AM, Maria Gehne - NOAA Affiliate <span dir="ltr"><<a href="mailto:maria.gehne@noaa.gov" target="_blank">maria.gehne@noaa.gov</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">You need to be more specific with your questions! Did you read the link in the previous response you got? What exactly do you not understand from the documentation of the function? There are even more examples on how to deal with time axis labels here:<div><a href="https://www.ncl.ucar.edu/Applications/time_labels.shtml" target="_blank">https://www.ncl.ucar.edu/Applications/time_labels.shtml</a><br><div><br></div><div>Replies to ncl-talk only please.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Maria</div></font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 24, 2014 at 12:03 PM, 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">I am not getting how to do it ??<br></div><div class="gmail_extra"><span><br clear="all"><div><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio & Atmospheric Science Division <br></div><div>CSIR - National Physical Laboratory<br></div><div>New Delhi - 110012<br><br></div><div><br></div><div><br></div><div><br></div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;border-collapse:collapse;font-family:Tahoma,Verdana;font-size:12px"><font color="#1F497D"><br></font></p></div></div></div>
<br></span><div><div><div class="gmail_quote">On Fri, Oct 24, 2014 at 7:10 PM, Kyle Griffin <span dir="ltr"><<a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.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">Please search for similar issues before posting to the list - this has been addressed many times before. You'll need to make sure that your time variable has a unit, something like "days since 2000-01-01 00:00:00.0" - the year can be whatever you want as it won't be plotted if you set your strings to be just "%d %c" (giving you 1 Jan, 31 Mar)<div><br></div><div><a href="https://www.ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/User_contributed/time_axis_labels.shtml</a><br></div><div><br></div><div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">----------------------------------------<div>Kyle S. Griffin</div><div>Department of Atmospheric and Oceanic Sciences</div><div>University of Wisconsin - Madison</div><div>Room 1421</div><div>1225 W Dayton St, Madison, WI 53706</div><div>Email: <a href="mailto:ksgriffin2@wisc.edu" target="_blank">ksgriffin2@wisc.edu</a></div></div></div>
<br><div class="gmail_quote"><div><div>On Fri, Oct 24, 2014 at 8:33 AM, Kunal Bali <span dir="ltr"><<a href="mailto:kunal.bali9@gmail.com" target="_blank">kunal.bali9@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><div dir="ltr"><div><div>Dear NCL users<br><br></div>I am running the attached CLOUD.ncl scripts. Its giving the result plot but i am not getting the days name in x axis as i need to get the x axis names from 1jan to 31 march. Its giving only numbers. So please tell me how label the x axis <br><br><br></div>Thank You<span><font color="#888888"><br><br><br clear="all"><div><div><div><div><div><div><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio & Atmospheric Science Division <br></div><div>CSIR - National Physical Laboratory<br></div><div>New Delhi - 110012<br><br></div><div><br></div><div><br></div><div><br></div><div><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left: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></font></span></div>
<br></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>