Create RGB matrix from dataset

2 vues (au cours des 30 derniers jours)
Mélanie Ghysels-Dubois
Mélanie Ghysels-Dubois le 11 Juin 2021
Modifié(e) : Adam Danz le 14 Juin 2021
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

Réponses (1)

Adam Danz
Adam Danz le 11 Juin 2021
Modifié(e) : Adam Danz le 14 Juin 2021
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 commentaires
Mélanie Ghysels-Dubois
Mélanie Ghysels-Dubois le 11 Juin 2021
Thank you Adam. I would be interested in knowing how to add a map to this.
Adam Danz
Adam Danz le 11 Juin 2021
Sorry, I missed that in your question.
Answer updated.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Geographic Plots dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by