In Matlab: 3D plot inside shape is best

How do I plot a 3D (or 2D) model (say, using plot3 () on a figure to get the maximum visible space on that figure? In other words, the model's bounding box is about to touch on top, left, right, and bottom.

+3


source to share


1 answer


Try to omit tight or fill .



hard setting sets the axis limits to the data range.

Axis padding sets the axis limits and PlotBoxAspectRatio, so that the axes fill the position rectangle. This parameter is effective only if PlotBoxAspectRatioMode or DataAspectRatioMode is reference.

+3


source







All Articles