Clear Filters
Clear Filters

How to visualise data in 4D or 5D?

11 views (last 30 days)
Mike Buba
Mike Buba on 25 May 2024
Commented: Cris LaPierre on 25 May 2024
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.).
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 Comment
Torsten
Torsten on 25 May 2024
Edited: Torsten on 25 May 2024
Is there a way to visualise and represent the data and show how each variable is affecting the final result?
If you keep two or at least one of the parameters constant, yes.

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 25 May 2024
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)

Community Treasure Hunt

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

Start Hunting!