Hi all,
I try to plot data spaced approximately 5km.
I use res@vcMinDistanceF to choose density of my vectors,
but I feel that this does not represent the good spacing between each grid point :
1 vector each 10km instead of 5km, even if I don't use vcMinDistanceF ressource .
here's elements from my script
;where vectors should lie on the map :
res@sfXCStartV = min(wind&lon)
res@sfXCEndV = max(wind&lon)
res@sfYCStartV = min(wind&lat)
res@sfYCEndV = max(wind&lat)
res@mpLimitMode = "latlon" ;define map's corners
res@mpMinLonF = minlon
res@mpMaxLonF = maxlon
res@mpMinLatF = minlat
res@mpMaxLatF = maxlat
;vc ressources :
res = True
res@vcGlyphStyle = "LineArrow" ; vectorstyle
res@vcRefLengthF = 0.01 ; ref vec length
;lres@vcMinDistanceF = 0.014 ; larger means sparser
res@vcVectorDrawOrder = "PreDraw" ; draw order
res@vcMonoLineArrowColor = True ; vector in black
Thanks in advance.
Yann
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Aug 12 23:14:34 2013
This archive was generated by hypermail 2.1.8 : Wed Aug 14 2013 - 18:35:09 MDT