python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How do I remove labels from one axis in a subplot?
I am using Python 3.9 on MacOS. Shortly, I have to make a plot with 4 subplots, and they share axis. The code looks like this:
#take some data
gs = gridspec.GridSpec(2, 2, height_ratios = [3, 1])
ax0...
Alessandro Ruggieri
Votes: 0
Answers: 1
Move only some x axis labels down in ggplot
See this plot:
tibble(x = 0:10, y = rnorm(11)) %>%
ggplot(aes(x,y)) +
geom_point() +
scale_x_continuous(breaks = c(seq(0,10,2)/10, seq(2,10,1)))
The labels in the beginning of the axis are ...
Giora Simchoni
Votes: 0
Answers: 2
Superscript text_Grob
I have a fiddley little problem! I am trying to get a superscript (i.e. the -1 in "Mg:Ca(µmol mol-1)" into a text grob but can't find the correct annotation of the script:
Axis labels
yle...
Angela Russell
Votes: 0
Answers: 0
Pass arguments to labels function in scale_y_continuous() with do.call() yields error
I want to make a ggplot for which the y-axis labels are formatted by a pre-made list. I have found that if I pass arguments to the labels option in scale_y_continuous() function in ggplot directly it ...
user1713174
Votes: 0
Answers: 1