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

27 views (last 30 days)
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.

Accepted Answer

Star Strider
Star Strider on 20 Mar 2019
Use the scatter3 (link) function, and the view (link) function, specifically:
view(0, 90)
  3 Comments
Subhash Chandra Ranga
Subhash Chandra Ranga on 29 Apr 2021
Hi Star Strider
Is it possible to scatter 3D points (x y z) on a 2D plot (S ,T).

Sign in to comment.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!