Need to make a 4D plot(3D + Colour)

조회 수: 1 (최근 30일)
sobhan ansari
sobhan ansari 2020년 9월 25일
답변: Star Strider 2020년 9월 25일
imagine i've got a ball(sphere) made of iron.i start to heat this ball over one side with a heater and i messure the temperature of every single point of the ball after 1 minute.
i have a data set in form(x,y,z,t(temperature)) for every x,y,z of my ball(4 centimeter radiuos).
how can i plot a 4D plot(3D + Colour) to show a model of my ball after being heated for 1minute?
to show the temperature of every point by red(hottest) to blue(coolest) range.

답변 (1개)

Star Strider
Star Strider 2020년 9월 25일
The simplest option is likely the scatter3 function.
plot it as:
figure
scatter3(x, y, z, [], t, 'filled')
grid on
axis equal
.

카테고리

Help CenterFile Exchange에서 Acoustics, Noise and Vibration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by