Discrete Data 3d

Hello there , i have 3-d data so i want to project the third coordinate as a color over the 2-d plane. There is no continuous data to project , instead i have specific points . Sο if i do use the image function i see nothing , and this is reasonable because i project points which is dimensionless , is there any idea how to "extend" these points to make them visible ?

Risposte (1)

Walter Roberson
Walter Roberson il 10 Dic 2016

0 voti

scatter() and provide the third coordinate as the color information.
Remember to convert the coordinates to column vectors.

3 Commenti

Michalis Chaviaras
Michalis Chaviaras il 10 Dic 2016
I want the third coordinate represented by a color-density ... like the pictures from image function , no just points with color ..
Michalis Chaviaras
Michalis Chaviaras il 11 Dic 2016
Sorry for misunderstanding , i have already 3-d data calculated , i don't want to calculate the 3rd coordinate based on the (x,y) data . If i do plot data with image i see only blue color at the figure. I think this is because specific points have plotted.

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by