Plot u=f(x,y,z) with all discrete data
Ältere Kommentare anzeigen
Hi all,
I have four columns of data namely cartesian coordinates (x,y,z) and a variable 'u'. All the four data are DISCRETE points. I want to create a 3D plot to visualise the contours of u using a colorbar. Can anyone help?
Thanks
Retam Paul
Akzeptierte Antwort
Weitere Antworten (1)
Davide Masiello
am 13 Jan. 2023
Bearbeitet: Davide Masiello
am 13 Jan. 2023
x = rand(1,100);
y = rand(1,100);
z = rand(1,100);
u = rand(1,100);
scatter3(x,y,z,20,u,'filled')
colorbar
Kategorien
Mehr zu Contour Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

