Create RGB matrix from dataset

Dear all,
I have a dataset such as column 1 is latitude, column 2 is longitude, column 3 is height and column 4 is a value I wish to color code.
The dataset is a trajectory on which is measured an anomaly in concentration (ppmv). I
I would like to plot a 3D scatter geographic plot with the trajectory color coded based on values in column 4.
I don't know how to proceed.
Thank you,
Best regards
Mélanie

回答(1 个)

Adam Danz
Adam Danz 2021-6-11
编辑:Adam Danz 2021-6-14

0 个投票

Where S is the size of the markers (a scalar value in your case) and C are your column 4 values.
For geographic coordinates,

2 个评论

Thank you Adam. I would be interested in knowing how to add a map to this.
Sorry, I missed that in your question.
Answer updated.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Geographic Plots 的更多信息

产品

版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by