[ncl-talk] Time axis in Hovmueller plot

Saran Rajendran happysaran.raj at gmail.com
Tue Jan 29 04:16:54 MST 2019


Dear NCL users,

              When I tried this script to plot hovmueller diagram
(time vs longitude) of curvature vorticity, the code runs. But instead
of time in y-axis, it shows latitude. I want time in the y-axis.


f    = addfile("curv_vort_lat_lon_925hPa_20150101_20151231.nc","r")

 u  = f->cur_vort(0,:,:)

  wks  = gsn_open_wks("png","hovmueller_cv_2015")

  res=True

  res at cnFillOn             = True               ; turn on color fill

 res at cnFillPalette        = "BlWhRe"

 res at gsnLeftString="cv"

 plot = gsn_csm_hov(wks, u(:,{60:120}), res )


More information about the ncl-talk mailing list