Colored 2D Vector Field Plotter
Sin licencia
COLORVFIELD Colored 2D Vector Field Plotter.
COLORVFIELD(X,Y,U,V) plots colored vectors with components (u,v) at the points (x,y). The vectors are colored using the jet color map (with the smallest vectors colored blue the largest colored red) and are divided into 32 discrete color levels.
COLORVFIELD(X,Y,U,V,NUMBER_COLOR_LEVELS) divides the color map into NUMBER_COLOR_LEVELS dicrete color levels.
Example:
X = linspace(-10,10,32);
Y = linspace(0, 0, 32);
U = linspace(-1,-5,32);
V=linspace(1,5,32);
colorvfield(X,Y,U,V,16); % plot 16 color levels
title('Vectors Plotted with Color Map (colorvfield.m)')
axis([-12.25,11.75,-0.25,4.75])
xlabel('X')
ylabel('Y')
Citar como
Michael Sullivan (2026). Colored 2D Vector Field Plotter (https://es.mathworks.com/matlabcentral/fileexchange/17754-colored-2d-vector-field-plotter), 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 >
Etiquetas
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 |
