Plot terrain deformation over geomap - matlab

I'm trying to plot the deformation of the terrain like in this image
floor deformation
I've tried with geoplot but I only get the map and none of the data. The deformation is in matrix form. I'm fairly new to Matlab so I would appreciate any advice you can give me. Thanks.

Related

Changing the plot position of z-axis

I wanted to change the position of z-axis in a 3d graph. I tried to do using graph properties but it does not work, Matlab has this option in 2D plot in axis properties window in the graph, but it does not work in 3d plots. Currently,the plot is at z=0 and I wanted to the position to z=6. Attached is the sketch where I need to change the position of the curve plot (red) from z=0 to z6. I appreciate if there is any solution/suggestion regarding this issue. Thank you.
sketch
Regards,
Alishah
A very simple solution for this question is that convert z in your formula to z-6. You know it from mathematics, It will shift a curve, 6 unit .
If you want to change in right or left, you plus or minus.

Visualize 3D data as heatmap

I have a matrix (brain map) Y with the dimensions 53x63x46. Most of the values are NaN but some range from -.07 to 1.5. I would like to visualize this as a heat map. Could anyone please help me how to visualize this? It may also be helpful to present the image as 2D and just show the relevant slices (i.e., important locations).
Update: I found this so I thought I'd try to move the images along the x axis but it doesn't look quite right.
atX=20;
surf(atX * ones(size(Y,2),size(Y,3)),'CData',Y(:,:,atX),'FaceColor','TextureMap');

3D reconstruction visualization ideas - MATLAB

I have some 3D reconstructed data which I need to visualize in MATLAB. It's quite a lot of data approx 1000x1000x1000, so naturally I most do some efficient visualization.
Any ideas how to visualize it, both in terms of 2D and 3D?
Thanks
You can also use 3D scatter plot in MATLAB:
scatter3(outX,outY,outZ,[size of point], [color value for each point] )
https://www.mathworks.com/help/matlab/ref/scatter3.html

overlaying location map (coastline) on slice plots in MatLab?

I made plots of depth slices using function slice, with each slice showing earth's velocity distribution. I am having a hard time overlaying the location map (coastline) on the figure. Does anyone know if this is possible with MatLab? OR Can you overlay any x,y(and z) plot on slice image?
Thanks all! I figured it out. Had to import coastline data from some online database and used hold on/off to overlay, with plot3. My original plan of using the mapping tools on MatLab didn't work.

Matlab: how to plot 3D text ( not 2D as function text does)

I know it is not a trivial task however I was wondering if anyone has already done this:
the text(x,y,z,'text') function plots a 2d text attached to the coordinate system of the 2d figure. What I need is a 3D text as a 3D entity which changes in accordance with the camera view.
Or if there is a way to extract the 2D data (x,y) of a 2D text and transform it ( rotate + translate) in 3D coordinate system.
Thanks a lot in advance
PS. I only have matlab basic version, with no toolbox in it.
You should be looking for [1].
1. http://www.mathworks.com/help/toolbox/mupad/plot/PRIMITIV_Text3d.html