How to visualise data in 4D or 5D?
8 次查看(过去 30 天)
显示 更早的评论
I have a pressure drop equation
, where parameters a to d are varied independently (e.g., pipe diameter, pipe length, angle bend, another length, etc.).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1703771/image.png)
I have used the nested for loop to calculate the total pressure, and the results are stored in the table with more than 10k combinations.
Is there a way to visualise and represent the data and show how each variable is affecting the final result?
1 个评论
回答(1 个)
Cris LaPierre
2024-5-25
See this answer: How to plot 5D in MATLAB
Basically, 3 of the dimensions can be X,Y,Z. Additional dimensions can be represented by marker style, line style, color, etc. For example, scatter3(X,Y,Z,S,C)
1 个评论
Cris LaPierre
2024-5-25
Here's another exampe of a 4D visualization
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!