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

12 次查看(过去 30 天)
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.

采纳的回答

Star Strider
Star Strider 2019-3-20
Use the scatter3 (link) function, and the view (link) function, specifically:
view(0, 90)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Scatter Plots 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by