Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 R 中使用 Synth 包,在绘制结果时(使用 path.plot 和 gaps.plot),我想将 x 轴上的标签自定义为字符值,例如“2015 年 1 月,2015 年 2 月”。目前我的时间变量是数字的(1 = 2015 年 1 月,2 = 2015 年 2 月等)。
有谁知道是否有一种方法可以调整 path.plot 函数内的 x 轴标签,或者是否可以在原始参数之外的绘图中添加其他参数,以抑制 path 给出的自动 x 轴标签。阴谋?
谢谢大家 :))
您可以添加或更改标签Ylab = "Y Label", Xlab = "X Label"
Ylab = "Y Label", Xlab = "X Label"
但是不知道怎么改剧情。