hi,
i have got the ocean_his.nc.And i want to get the vector of current.However i don't know how to plot by matlab.I have got the contour of temperature and u-current,and so on.However,How to draw the vector of u and v ? How to use the matlab quiver command to draw the vector(based on the ROMS output netcdf data)?
thanks a lot!
a problem about matlab quiver to vector
Re: a problem about matlab quiver to vector
Try my roms_quivergrd.m or the vector plotting with roms_zview.m, roms_sview.m. These routines account for the staggered u,v grid and any rotation of the grid coordinates with respect to north-east.
See: http://romsmatlab.tiddlyspot.com
John.
See: http://romsmatlab.tiddlyspot.com
John.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu