3D surface plot with three vector
Afficher commentaires plus anciens
I have a certain number of X,Y,Z vectors. I have to show a 3D representation of them and I have tryed with a plot3 function, as the following example:
for i=1:15:365 %i is the number of the x,y,z vectors
x=rand(1)*(1:1:10)
y=rand(1)*(1:1:10)
z=rand(1)*[0,9,12,21,20,18,15,11,6,0]
plot3(x,y,z)
hold on
end
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!