3d plotting of Lat, Long and depth

2 visualizaciones (últimos 30 días)
P_L
P_L el 8 de Feb. de 2019
Editada: P_L el 28 de Feb. de 2019
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!!

Respuesta aceptada

Cris LaPierre
Cris LaPierre el 8 de Feb. de 2019
Editada: Cris LaPierre el 8 de Feb. de 2019
Try this:
axis equal
ax = gca;
ax.ZDir = 'reverse';
  6 comentarios
Cris LaPierre
Cris LaPierre el 14 de Feb. de 2019
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 el 14 de Feb. de 2019
Hi Chris,
Problem solved!! Thank you so much !!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Data Distribution Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by