Dear
I have a problem when plotting position data (latitude, longitude, depth). The data are in three columns vectors and are the same size (3500x1), I can plot them in 3D, but I want to color the points as a function of its depth and color bar to the max and min depth values.
Thanks valuable assistance
Yours Truly

답변 (1개)

Image Analyst
Image Analyst 2015년 3월 2일

0 개 추천

With scatter() you can pass in a size and color for every data point. There is also a colorbar function that you can use if you set it up with your colormap.

카테고리

도움말 센터File Exchange에서 Scatter Plots에 대해 자세히 알아보기

태그

질문:

2015년 3월 2일

답변:

2015년 3월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by