VELOCITY_ARROWS2
Plot Velocity Arrows


VELOCITY_ARROWS2 is a MATLAB routine which makes an arrow plot of a velocity field, using XY and UV data stored in a single TABLE file.

The program is mainly a preprocessor for MATLAB's quiver routine. It reads the (X,Y) coordinates and horizontal and vertical velocities from a file. It then makes a few settings, calls quiver to plot the arrows, and also traces out the convex hull of the points, which is presumably the boundary of the region.

Related Data and Programs:

DIRECTION_ARROWS2 is a MATLAB program which plots the velocity direction field.

TABLE is a format used for the input files to this program.

VECTOR_MAGNITUDE_GRID is a MATLAB program which reads node and velocity data from a file, and using an interpolating function, is able to display a contour plot of the vector magnitude field.

VECTOR_STREAM_GRID is a MATLAB program which reads node and vector data from a file, computes an interpolatory function, evaluates on a uniform grid of points specified by the user, and displays a streamline plot of the vector field.

VECTOR_PLOT is a FORTRAN90 program which can read an XY file and a UV file and plot the velocity and velocity direction fields.

VELOCITY_ARROWS is a MATLAB program which assumes that the XY and UV data are stored in separate table files.

VELOCITY_ARROWS_GRID is a MATLAB program which reads a file of nodes and and a file of velocity data, and, using interpolation, creates a vector plot with arrows on a uniform grid of the user's specification.

VELOCITY_ARROWS_GRID2 is a MATLAB program which reads a single file of node and velocity data, and using interpolation is able to display a velocity vector field along any uniform grid of points specified by the user.

VELOCITY_ARROWS_SEQUENCE is a MATLAB program which can process a set of many data files with names that are numbered in sequence.

VELOCITY_ARROWS_SEQUENCE2 is a MATLAB program can process a set of many data files with names that are numbered in sequence.

Source Code:

Examples and Tests:

CHANNEL is a problem involving flow in a horizontal channel.

You can go up one level to the MATLAB source codes.


Last revised on 13 September 2005.