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 Commento

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)?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by