Multi dimensional plotting with data inputs

I am trying to create a multiple dimensions surface. I tried surf but needs a function and I have just data.For example: x1=[1,2,4] x2=[5,76,12] x3=[5,1,8,4] x4=[8,1,7,4]
It worked with scatter for 2d and scatter3 for 3d but what should I do with more dimensions? Thank you!

1 件のコメント

Kaushik Lakshminarasimhan
Kaushik Lakshminarasimhan 2017 年 2 月 15 日
You may use color for the fourth dimension.
Before I can post a more specific response, can you clarify what exactly it is that you want to plot? Are x1, x2, x3, and x4 your data points? What are the values of x1 and x2 along the fourth dimension (they only have three elements)?

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2017 年 2 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by