参考链接:
1、http://blog.sina.com.cn/s/blog_7e18707801017pin.html

使用matlab的subplot画图有时候需要调整子图间距,主要有下面两种方法:
1、subplot子图使用plot,plot3,surf,mesh有坐标轴的可以直接使用箭头拖动,这样最快捷。如下图:
【Matlab】subplot调整子图间距2、有时候imshow不能拖动,只能使用subplot(‘Position’,[left bottom width height]) 或者set(gca, ‘Position’,[left bottom width height]) 需要自己设置Position这个四维向量。如下图:
【Matlab】subplot调整子图间距
subplot(‘Position’,[left bottom width height]) creates an axes at the position specified by a four-element vector. left, bottom, width, and height are in normalized coordinates in the range from 0.0 to 1.

相关文章:

  • 2022-12-23
  • 2021-08-09
  • 2021-08-31
  • 2021-11-01
  • 2021-04-09
  • 2021-07-27
  • 2021-07-11
  • 2021-05-28
猜你喜欢
  • 2022-12-23
  • 2021-04-30
  • 2021-04-28
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-04-15
相关资源
相似解决方案