python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
seaborn.lmplot with single axes labels
What I need should be straighforward but I couldn't find a solution. Say we draw the following seaborn.lmplot:
import seaborn as sns; sns.set_theme(color_codes=True)
tips = sns.load_dataset("tips...
johnjohn
Votes: 0
Answers: 0
Align another object with scatterplot+marginal boxplots
I've generated a scatterplot with marginal histograms on the x and y axes, using this extremely helpful answer from @ClausWilke (reproduced below).
library(cowplot)
# Main plot
pmain <- ggplot(iri...
Timmo83
Votes: 0
Answers: 1
ggplot2 retrieve y axis title for subtitle
ggplot2 titles the y-axis with the name of the y variable. e.g., the y-axis has "mpg" as the title in the example below:
ggplot(mtcars, aes(x = disp, y = mpg)) +
geom_point()
Is there a w...
sometimes_sci
Votes: 0
Answers: 1
Make geom_histogram display x-axis labels as integers instead of numerics
I have a data.frame that has counts for several groups:
set.seed(1)
df <- data.frame(group = sample(c("a","b"),200,replace = T),
n = round(runif(200,1,2)))
df$n...
dan
Votes: 0
Answers: 2