3d plotting of Lat, Long and depth

조회 수: 2 (최근 30일)
P_L
P_L 2019년 2월 8일
편집: P_L 2019년 2월 28일
Hi,
I am trying to create a 3D plot - please see attached image.
However, i need to flip the scale so that the depth (km) increases downwards and I need to plot it in a 1:1 aspect ratio as all 3 axis are not equal in reality... Does anyone know how to do this?
Eventually i will need to plot elipsoid errors around these data points - if anyone has any experience with this, then I would be extremely grateful if you could share how you did it!
Many thanks!!

채택된 답변

Cris LaPierre
Cris LaPierre 2019년 2월 8일
편집: Cris LaPierre 2019년 2월 8일
Try this:
axis equal
ax = gca;
ax.ZDir = 'reverse';
  댓글 수: 6
Cris LaPierre
Cris LaPierre 2019년 2월 14일
Could you share your code? Did you scale your Z values correctly? What version of MATLAB are you using?
It works as expected for me.
3D_LatLongDep.png
P_L
P_L 2019년 2월 14일
Hi Chris,
Problem solved!! Thank you so much !!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Distribution Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by