a problem about matlab quiver to vector

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
duckweed

a problem about matlab quiver to vector

#1 Unread post by duckweed »

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!

User avatar
wilkin
Posts: 905
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: a problem about matlab quiver to vector

#2 Unread post by wilkin »

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.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Post Reply