Create RGB matrix from dataset

조회 수: 3 (최근 30일)
Mélanie Ghysels-Dubois
Mélanie Ghysels-Dubois 2021년 6월 11일
편집: Adam Danz 2021년 6월 14일
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일
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
Mélanie Ghysels-Dubois
Mélanie Ghysels-Dubois 2021년 6월 11일
Thank you Adam. I would be interested in knowing how to add a map to this.
Adam Danz
Adam Danz 2021년 6월 11일
Sorry, I missed that in your question.
Answer updated.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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