Displaying 2 results from an estimated 2 matches for "guide_axis".
Did you mean:
guide_axes
2025 Jan 21
1
ggplot with major and MINOR tick marks on a log scale
...BE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Hello,
Here are two plots with y axis minor breaks tick marks.
They both use guide_axis(minor.ticks = TRUE) but the 2nd plot spaces the
tick marks as in logarithmic paper with an auxiliary function taken from
a StackOverflow post.
Also, instead of scale_y_continuous(trans = "log10") I have used the
equivalent scale_y_log10(), it makes the code simpler and the effect is...
2025 Jan 21
3
ggplot with major and MINOR tick marks on a log scale
I have used ggplot to create a graph on which the y-axis is on the log scale. (see data and code, below.) I would like to add minor tick marks, which will also be on the log scale. The data and code are below. I hope somone can tell me how I can modify the ggplot code so it produces minor tick marks on a log scale.
Thank you,
John
?
PopByDayByAQIminus <- dget(
structure(list(Day =