MATLAB: Scattering 3D points (x y z) on a 2D plot (x y)

2d3dMATLABplotpoints

Hello,
I'm trying to scatter 3D points (x y z) on a 2D plot (x y) such that the z axis is hidden, but hovering on data points shows the value of x y AND z for that particular point. I've searched around found nothing.
The goal is for it too look something like the impixel() function, where the plot is 2D, but hovering on the pixel pionts also shows the values for RGB.
Thank you.

Best Answer

Use the scatter3 (link) function, and the view (link) function, specifically:
view(0, 90)