通过散点图矩阵中的所有散点图插入 abline(s)

Insert abline(s) through all scatterplots in a scatterplot matrix

我想知道是否可以在散点图矩阵中的所有相关图中插入 ablines,以便可以直观地比较所有图中的值?这是一个手动绘制线条的示例:enter image description here

abline(h=value, col='red') #for horizontal line
abline(v=value, col='red') #for vertical line
abline(y~x, col='red') #for some regression function

其中 'value' 是 'y' 或 'x' 轴上的任意点。