代码之家  ›  专栏  ›  技术社区  ›  Yoni Verhaegen

Matlab:改变ylabel的位置

  •  0
  • Yoni Verhaegen  · 技术社区  · 5 年前

    我想知道是否可以改变伊拉贝尔的位置。我想把它向下移动(如附图所示),以便与yticks更好地匹配。

    enter image description here

    0 回复  |  直到 5 年前
        1
  •  2
  •   Luis Mendo    5 年前

    你可以这样做:

    figure;
    yl = ylabel('y axis label');
    yl.Position(2) = yl.Position(2) -  0.3;
    

    enter image description here