A very, very strange phenomenon!After drawing, adjust the position of the group figures. When you move the subplot in figure, the coordinates of the subplot change!!!
1 次查看(过去 30 天)
显示 更早的评论
When I finished drawing the required graph lines in the paper, I needed to adjust the position of the subplot before exportting the image, so as to achieve a beautiful figure. This original drawing is as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/948384/image.png)
When I moved the subplot, I found that the X coordinate of the graph changed after the movement, it is as follows:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/948389/image.png)
I moved the three pictures on my right to the left. My moving method is: open the figure editing mode, hold down the shift button, select three pictures, and drag the mouse to move the pictures.The problem caused me to be unable to adjust the position of the graph. I was very upset. Is this a problem of the matlab software itself? Is this a bug?
best wishes!
0 个评论
回答(1 个)
MJFcoNaN
2022-4-4
I think it is some "auto" feastures' influence.
You can try setting axes properties such as XTick and XLim to override auto mode (XTickMode, XLimMode).
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subplots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!