Plotting 4D surface plot (x,y,z and one is colour bar)
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have some output from a complex relation , the 4 variable are in coloumns as x,y,z, and m and I need a 4D data surface plot,( not using scatter3 ) the data are as given below
-0.5788245 0.30687669 0.22984767 0.22355179
-0.1582685 0.29329778 0.24892007 0.22159881
-0.6557496 0.308436399 0.227693111 0.2237660382
-0.49503954 0.3049376 0.23252405 0.22328248
-0.59613234 0.30724597 0.22933967 0.22360271
-0.57882451 0.30687669 0.22984767 0.22355179
-0.59815448 0.30728847 0.22928124 0.22360857
-0.57882451 0.30687669 0.22984767 0.22355179
-0.53785846 0.30596145 0.23110906 0.22342508
-0.64232729 0.3081849 0.22805038 0.22373167
-0.58354629 0.30697843 0.22970767 0.22356583
-0.15826852 0.29329778 0.24892007 0.22159881
0.086472837 0.27660774 0.2735365 0.21898408
0.44117722 0.16052428 0.49649211 0.19316728
0.44186912 0.1588667 0.50050715 0.19267407
0.44453794 0.15060049 0.52094569 0.19014235
2 Kommentare
Antworten (1)
KSSV
am 25 Apr. 2022
A = [-0.5788245 0.30687669 0.22984767 0.22355179
-0.1582685 0.29329778 0.24892007 0.22159881
-0.6557496 0.308436399 0.227693111 0.2237660382
-0.49503954 0.3049376 0.23252405 0.22328248
-0.59613234 0.30724597 0.22933967 0.22360271
-0.57882451 0.30687669 0.22984767 0.22355179
-0.59815448 0.30728847 0.22928124 0.22360857
-0.57882451 0.30687669 0.22984767 0.22355179
-0.53785846 0.30596145 0.23110906 0.22342508
-0.64232729 0.3081849 0.22805038 0.22373167
-0.58354629 0.30697843 0.22970767 0.22356583
-0.15826852 0.29329778 0.24892007 0.22159881
0.086472837 0.27660774 0.2735365 0.21898408
0.44117722 0.16052428 0.49649211 0.19316728
0.44186912 0.1588667 0.50050715 0.19267407
0.44453794 0.15060049 0.52094569 0.19014235];
scatter3(A(:,1), A(:,2), A(:,3),[], A(:,4),'filled')
colorbar
4 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!