3D plotting on 3 D axis....
조회 수: 1 (최근 30일)
이전 댓글 표시
I have 3D room with X,Y,Z dimensions. I need to represent the temperature in this room, and the values changing with positions. So for the dimensions below I have 27 values.
For example:
X[1 2 3]; Y[1 2 3]; Z[1 2 3];
T[1:27];
댓글 수: 0
채택된 답변
Image Analyst
2014년 10월 2일
It sounds like you don't have a completely solid 3D volumetric image, like an (x,y,z) triplet for every single possible (x,y,z) location, and just have scattered data at a few of the possible locations. Perhaps you can use scatter3()?
scatter3(x, y, z, sizes, colors);
You'd set up colors to be different colors depending on the value of T. This would be like a 2.5D perspective rendering of a scatterplot of a bunch of points where the points colors depends on their temperature.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!