CURVVEC creates curved vectors for 2D vector components U,V. The arrays X,Y define the coordinates for U and V. Curvature of the vectors is based on ML Built-in function, STREAM2. The length of the vectors are scaled to the vector magnitude. The color of the vectors may or may not be scaled according to the vector magnitude depending on optional input parameters.
EXAMPLE:
load wind
mu=mean(u,3); mv=mean(v,3); mx=mean(x,3); my=mean(y,3);
figure
curvvec(mx,my,mu,mv,'color',jet,'minmag',5,...
'maxmag',50,'thin',3)
set(gca,'color','k')
Citar como
Andrew Stevens (2024). CURVVEC (https://www.mathworks.com/matlabcentral/fileexchange/25066-curvvec), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
- MATLAB > Graphics > 2-D and 3-D Plots > Surfaces, Volumes, and Polygons > Volume Visualization > Vector Volume Data >
Etiquetas
Agradecimientos
Inspirado por: StreakArrow, BIN2MAT
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |