UIAxes 3D scatter plot becomes simplified when rotating with the mouse (App Designer)
Show older comments
Hello,
I am displaying a 3D point cloud in App Designer using a tiledlayout with a UIAxes with MATLAB 2024b. The point cloud is plotted using scatter3.
When the figure is displayed normally, all points appear as in the image below (the volume of interest is circled in red):

However, when I use the mouse rotation tool on the axes, the rendering changes and the plot becomes visually simplified, as illustrated below:

It looks like MATLAB reduces the number of visible points or changes the rendering during the interaction.
Interestingly, the simplified rendering actually looks cleaner and closer to what I want, so I would like to obtain this second rendering as the default display, even when the axes are not being rotated.It is to be noted that I have not noticed this effect when displaying the cloud point in a separate figure.
I would like to know if there is a way to force MATLAB to use this simplified rendering permanently?
Thank you for your help.
Cheers,
Guillaume.
5 Comments
dpb
on 16 Mar 2026 at 16:26
I can't see the simplification of which you speak?
Guillaume
on 17 Mar 2026 at 6:45
Dunno that anybody here can do anything w/o the dataset to play with...
If doing the rotation programmatically doesn't produce the result desired, I suspect that contacting Mathworks support would be the only way(*) to determine if there is indeed some such reduction applied and to learn what might be being done internally.
However, I suspect if you had another sample dataset, the chances are whatever effects there are in this image may well not appear in another with just a somewhat different distribution of data point locations so I expect you're chasing a mirage.
If you enlarge that (or any other) area can you actually see clearly enough the individual points and discover that not every point really is not being displayed or is it, as I suspect, just an optical illusion? If there really are fewer points being plotted, then you should be able to discern which are missing and discover whether it is something like just a decimation by some factor or if points are being screened perhaps on basis of their Euclidean separation. You could then try to do a programmatic operation similar in nature and see how that works.
(*)I haven't searched to see if perhaps the internal callback of the rotation tool might be m-code or whether it is exposed at all -- programmatically it would seem that perhaps figuring out if there's a way to call that code directly or being able to see what it does would be the only way to reproduce identically what is happening.
Guillaume
about 9 hours ago
dpb
about 3 hours ago
Good luck...will be interested to hear what they have to say.
Answers (0)
Categories
Find more on Graphics Performance in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
