data(tips, package = "reshape")
pMat <- ggpairs(tips, c(1,3,2), mapping = ggplot2::aes_string(color = "sex"))
pMat # calls print(pMat), which calls print.ggmatrix(pMat)
## defaults; (prints strips on top and right edges of matrix)
# print(pMat, left = 0.2, spacing = 0.03, bottom = 0.1)
## give the left axis labels area a proportion of 3 plot size
# print(pMat, leftWidthProportion = 3)
## give the bottom axis labels area a proportion of 1 plot size
# print(pMat, bottomHeightProportion = 1)
## give the spacing between plots a proportion of 1 plot size
# print(pMat, spacing = 1)
Run the code above in your browser using DataLab