COLORVFIELD3 Colored 3D Vector Field Plotter

Plots 3D vectors colored according to their lengths.
1,6K download
Aggiornato 27 nov 2007

Nessuna licenza

COLORVFIELD3 Colored 3D Vector Field Plotter.

COLORVFIELD3(X,Y,Z,U,V,W) plots colored vectors with components (u,v,w) at the points (x,y,z). 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.

COLORVFIELD3(X,Y,Z,U,V,W,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);
Z = linspace(0, 0, 32);
U = linspace(-1,-5,32);
V = linspace(1,5,32);
W = linspace(0, 0, 32);
colorvfield3(X,Y,Z,U,V,W,16); % plot 16 color levels
title('3D Vectors Plotted with Color Map (colorvfield3.m)')
axis([-12.25,11.75,-0.25,4.75,-0.25,0.25])
xlabel('X')
ylabel('Y')
zlabel('Z')

Cita come

Michael Sullivan (2026). COLORVFIELD3 Colored 3D Vector Field Plotter (https://it.mathworks.com/matlabcentral/fileexchange/17755-colorvfield3-colored-3d-vector-field-plotter), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Vector Fields in Help Center e MATLAB Answers
Versione Pubblicato Note della release
1.0.0.0