3d plotting of Lat, Long and depth
1 次查看(过去 30 天)
显示 更早的评论
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!! ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203310/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/203310/image.png)
0 个评论
采纳的回答
Cris LaPierre
2019-2-8
编辑:Cris LaPierre
2019-2-8
Try this:
axis equal
ax = gca;
ax.ZDir = 'reverse';
6 个评论
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/204205/image.png)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geology 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!