<div dir="ltr"><div>Hello</div><div><br></div><div>I am doing timeseries for Warm years for sst and CMAP data.</div><div>how do i make the left and right dimension be same especilly here........ <strong> y       = sst(ind_warm</strong>).........see it in main script.</div><div>it complains about left and right dimension not same. my data is sst(time.lat,lon) and am plotting only warm years</div><div> thanks</div><div><br></div><div>below is script</div><div><br></div><div>begin<br>;************************************************<br>; Read in data<br>;************************************************<br>  f     = addfile (&quot;<a href="http://sst.mnmean.nc">sst.mnmean.nc</a>&quot;,&quot;r&quot;)<br>  time  = f-&gt;time                                 ; access date<br>  sst   = (f-&gt;sst)*0.1                            ; scale sst anomalies <br>;************************************************<br>; extract warm years from data<br>;************************************************<br>  warm_yrs  = (/1951,1953,1957,1963,1965,1969,1972,1976,1982,1987,1991/)<br>  warm_time_yrs = warm_yrs * 100 + 01             ; match format of date array<br>  nwarm     = dimsizes(warm_yrs)                  ; how many warm years<br>  ind_warm  = new(nwarm,integer)                  ; create array     </div><div>  do n=0,nwarm-1                                 <br>    ind_warm(n)  = ind(warm_time_yrs(n).eq.time)<br>  end do<br> <strong> y       = sst(ind_warm)</strong><br>  x     = ispan(0,nwarm-1,1)                           <br>;************************************************<br>; create plot<br>;************************************************<br>  wks   = gsn_open_wks (&quot;x11&quot;,&quot;xy&quot;)                ; open ps file</div><div>  res               = True                        ; plot mods desired<br>  <br>  res@tmXBMode          = &quot;Explicit&quot;              ; explicit labels<br>  res@tmXBValues        = x                       ; location of labels <br>  res@tmXBLabels        = warm_yrs                ; labels themselves<br>  res@tmLabelAutoStride = True                    ; nice stride on labels</div><div>  res@tiMainString      = &quot;Explicit axis labeling&quot;; title</div><div>  plot  = gsn_csm_xy(wks,x,y,res)       <br>end<br></div></div>