Draw 3 D from 4 data sets

2 次查看(过去 30 天)
How I can draw 3 D from the these data to get graph as atteched?
x1 = [60 65 70 75 80 85 90 95]
y 1= [717.7443511 450.2110549 315.3203173 281.0355881 310.2619146 367.5904781 425.4810863 466.5103523]
x2 = [32 34 36 38 40 42 44]
y2 = [2461.769179 2698.95206 2893.41954 2863.069124 2539.331353 1964.921629 1246.066407]
  4 个评论
Asma A Bder Muhmed
Thank you for your replies
what about these data?
LL = [50.0 60.0 70.0 80.0 90.0 100.0 110.0]
UCS = [2695.6 1417.5 671.1 403.6 412.6 510.3 621.1]
PL = [15.0 20.0 25.0 30.0 35.0 40.0 45.0]
UCS = [9467.7 5552.5 2276.9 535.1 476.1 671.1 128.2 ]
Asma A Bder Muhmed
I dont have equation for z
The values i got them from tests on soil

请先登录,再进行评论。

回答(1 个)

Ghufran Aldawood
Ghufran Aldawood 2020-8-4
The data sets that you have don't have the same dimensions, if you have the same dimension on all sets, I assume you want to use the fourth set for color gradient. For that you can use the patch function in Matlab. I've attached code and figures.
  9 个评论
Ghufran Aldawood
Ghufran Aldawood 2020-8-6
Glad I can help. Good luck!

请先登录,再进行评论。

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by