quivplot2
algorithm
- plots 2d velocity field as arrows
- by default consider the whole domain
- optionally consider only a part of the domain
syntax
[]=quivplot2(x_velocity,y_velocity,X,Y,L1,L2,C1,C2)
example for input
quivplot2r(x_velocity,y_velocity,X,Y,50,200,50,200)
input arguments
Name | description |
---|---|
x_velocity,y_velocity | matrices of the velocity components required arguments |
X,Y | vectors defining the rectangular domain required arguments |
L1,L2, C1,C2 |
integer values of gridpoints defining first and last line, integer values of gridpoints defining first and last column of part of domain to be investigated, optional arguments |
output arguments
- 2d plot of velocity vectors
matlab tools required
- quiver