- Plot all of your data on the scatter plot (4 individual lines - they will all fit the same scale)
- Use 2x2 subplot to present the data as a scatter plot or as a bar chart
How to plot four dimensional data in a single plot
2 ビュー (過去 30 日間)
古いコメントを表示
Hello Everyone, I have a four-dimensional data to plot, where each dimension is independent of the others, i.e. they do not bear any functional relationship. I have attached the data herewith. Please find me a way to achieve it.
1 件のコメント
Pawel Jastrzebski
2018 年 3 月 2 日
If they are bearing no relation to each other why do you want to plot them on a single plot?
In my view you have to options:
回答 (2 件)
Akira Agata
2018 年 3 月 2 日
One possible solution would be using scatter plot with changing marker color and/or marker size to represent 4th dimension value. Here is my initial try:

0 件のコメント
Hirak
2018 年 3 月 4 日
1 件のコメント
Akira Agata
2018 年 3 月 4 日
Looking at your data, the same column 1 and 2 values appears multiple times. So, if you plot this data in 3-D bar, several bars will be placed in the same x and y point. Would you still like to plot the data in 3-D bar style?
参考
カテゴリ
Help Center および File Exchange で Discrete Data Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!