I am trying to create a set of representations of a three-dimensional object in Matlab, so that the angle changes, but the size of the object remains constant. As Matlab tries to fit the entire axis, the subject will decrease or increase depending on whether the plot is viewed at an angle or at an angle. As an example:
[x,y,z] = sphere(50); % coordinates of a sphere surf(x,y,z); % plot the sphere axis image off view(0,0) % at this angle the sphere fills the axes view(-37.5,30) % at this angle the sphere is much smaller
How can I make it so that the sphere looks the same size no matter what angle it looks?
source share