Problem with a data depth

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.

カテゴリ

タグ

質問済み:

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