ggobi/ggally

Add x-axis labels to each sub-plot

Opened this issue · 0 comments

Background:

I'm plotting the arrests data set from the Effects package in R. I'd like to only plot the first column showing released's relationship to all other variables with the x-axis labels shown for reach sub-plot.

library(effects)
library(GGally)

data(Arrests)

plot <- ggpairs(Arrests)

plot

Problem:

However, the x-axis labels are missing or suppressed being suppressed for the first row.

Question:

Update: I realized this is actually a two part question.

  1. I want to only plot 1 column (the released column) against all other variables
  2. I would like to label the x axis for each sub-plot.

Example plots

Plot that I have now

image

The plot I'd like to have

I'd like my plot to look like this, but with x-axis labels for each sub-plot:

plot