使用 quantreg 命令绘图时无法显示 x 和 y 标签

Can't display x and y labels, when plotting with the quantreg command

我正在尝试绘制 quantreg 命令的结果,但图表的标签没有显示。我是 运行 这个代码:

plot(summary(qrg), parm="agua_esgoto", xlab = "Quantiles", ylab = "Piped water and sewage", main = "Figure 1")

这是返回的图像:

需要设置边距才能看到 y 或 x 标签,您可以查看 the vignette

下的选项

例如:

data("engel")
fm <- rq(foodexp ~ income, data = engel, tau = 1:9/10)

plot(fm,parm=2)
# no x or y labels can be seen

plot(fm, parm = 2, mar = c(5.1, 4.1, 2.1, 2.1), 
main = "", xlab = "tau", ylab = "income coefficient")