How to adjust the distance between the y-label and the y-axis in Matlab?

为君一笑 提交于 2019-11-29 07:21:59

You can use normalized units for the y-label position. Try this:

set(y, 'Units', 'Normalized', 'Position', [-0.1, 0.5, 0]);

Normalized units are always relative to [0 1], so the range of your data doesn't matter.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!