Equal Axis reduce the plot size

2 次查看(过去 30 天)
Dear Matlab experts,
i am using GUIDE to develop a quick testing tool. I want to show a Pointcloud before and after some processings. My problem is that i want to plat the axis "equal" with a DataAspectRation [1 1 1]. But the more narrow my pointcloud gets, the smaller the plot gets.
For example, this is how big my plot could be:
This is how big the plot is when i hide the coordinatesystem:
and this is how small it is after some processing (and the pointcloud gets smaller in Y-direction):
But in the end, the user has only a very small place where he can put the mouse to "rotate" or "zomm" etc.
I'd like to have a plot with the same proportions for all axes... but stil have bigger axes. I hope you get the idea.
Thanks in advance

回答(1 个)

Bjorn Gustavsson
Bjorn Gustavsson 2020-12-3
That is a terrible problen, what happens in your case, with increasingly narrow axes is (likely) unavoidable when you get very different span in the different axis-directions - a 2-by-2-by-2 brick-wall will be reasonably cubic and we can have a nice plot, if we extend this in one direction (2000-by-2-by-2) and display it with equal scale in all direction the largest span will force the others to become very small onscreen.
No solution, only advice: use judgement and "design taste" to the best of your capability for this problem.
HTH

类别

Help CenterFile Exchange 中查找有关 Labels and Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by