rotating axis labels in R

后端 未结 5 810
礼貌的吻别
礼貌的吻别 2020-11-27 10:04

In R, how do I make a (bar)plot\'s y axis labels parallel to the X axis instead of parallel to the Y axis?

5条回答
  •  忘掉有多难
    2020-11-27 10:45

    Use par(las=1).

    See ?par:

    las
    numeric in {0,1,2,3}; the style of axis labels.
    0: always parallel to the axis [default],
    1: always horizontal,
    2: always perpendicular to the axis,
    3: always vertical.
    

提交回复
热议问题