How to set same scales across different facets with ggpairs()
问题 I have the following dataset and codes to construct the 2d density contour plot for each pair of variables in the data frame. My question is whether there is a way in ggpairs() to make sure that the scales are the same for different pairs of variables like the same scale for different facets in ggplot2. For example, I would like the x scale and y scale are all from [-1, 1] for each of the picture. Thanks in advance! The plot looks like library(GGally) ggpairs(df,upper = list(continuous =