<div dir="ltr"><div><div>Hello<br><br></div>I have the data from 2004-2011 but when i plotted the x axiis label is not coming with equal intervals. I mean i want to label at every year like 2004 2005 2006 2007 2008 2009 2010 2011. <br><br></div>How to fix it ?<br><div><br>  TDim = f-&gt;TDim              ; this is our x<br>  TDim@units = &quot;months since &quot; + TDim@startValue <br><br>  nTDim = dimsizes(TDim)<br><br>  wtype          = &quot;png&quot;<br>  wtype@wkWidth  = 1000     ; size of png in pixels<br>  wtype@wkHeight = 1000     ; 1000x1000  <br>  wks = gsn_open_wks(wtype,&quot;example1&quot;)<br><br> ; wks_type = &quot;pdf&quot;                       <br> ; wks_type@wkPaperSize = &quot;B&quot;<br> ; wks = gsn_open_wks(wks_type,&quot;CWP1&quot;)<br>  <br>  res                    = True <br>  res@xyLineThicknesses  = 6.                 ; thicker line<br>  res@xyLineColor        = &quot;Blue&quot;<br> ; res@gsnLeftString      = &quot;units = g/m^2 &quot;<br>  <br>  <br>  res@xyMarkLineMode     = &quot;MarkLines&quot;<br>  res@xyMarkerColors     = (/&quot;red&quot;/)<br>  res@xyDashPattern      = 0<br>  res@xyMarkers          = (/4/)              ; marker pattern<br>  res@xyMarkerSizeF      = 0.01               ; marker size<br>  res@xyMarkerThicknessF  = 3.0<br><br>  <br>  res@tmXBMajorOutwardLengthF    = 0.0<br>  res@tmXBMajorLengthF           = 0.0<br> <br>  res@tmXUseBottom               = False<br>  res@tmXBMajorLengthF           = 0.01<br>  res@tmXTMajorOutwardLengthF    = 0.0<br>  res@tmXTMinorOutwardLengthF    = 0.0<br>  res@tmXBMinorLengthF           = 0.0<br><br>  res@tmYLMajorLengthF           = 0.01<br>  res@tmYLMajorOutwardLengthF    = 0.0<br>  res@tmYLMinorOutwardLengthF    = 0.0<br>  res@tmYLMinorLengthF           = 0.0<br><br>  res@tmXMajorGrid                = True<br>  res@tmYMajorGrid                = True<br>  res@tmXMajorGridThicknessF      = 1.0<br>  res@tmYMajorGridThicknessF      = 1.0<br>  res@tmXMajorGridLineDashPattern = 2<br>  res@tmYMajorGridLineDashPattern = 2<br><br>  res@tmXBLabelFontHeightF       = 0.02<br>  res@tmYLLabelFontHeightF       = 0.02<br><br>  res@tiMainString       = &quot;Year_04-11&quot;<br>  restick  = True<br>  restick@ttmFormat      = &quot;%y &quot;<br>  res@tmXBLabelAngleF    = 90<br><br>  <br><br>  res@tiYAxisOn          = True<br>  res@tiYAxisString      = &quot;AD&quot;<br><br> ; restick@ttmMajorStride = 12               ;intervals <br>  time_axis_labels( TDim,  res, restick )<br>  plot = gsn_csm_xy( wks, TDim, t,res)  <br><br> end<br clear="all"><div><div><div><div><div><div><div class="gmail_signature"><div dir="ltr"><div>Kunal Bali<br></div><div>Research Scholar <br></div><div>Radio &amp; 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: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>