Need to make a 4D plot(3D + Colour)
14 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Star Strider
on 25 Sep 2020
plot it as:
figure
scatter3(x, y, z, [], t, 'filled')
grid on
axis equal
.
0 Comments
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!