You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I'm log-scaling the y-axis of CDF-plots (stat_ecdf), the y-values are drawn between 1 and 10 instead of 0 and 1. The y-values of the data extracted from the plot-object (ggplot_build(...)$data[[1]]$y) are ranging from 0 to 1 instead of -1 to 0. When I'm log-scaling the x-axis of CDF-Plots or the x- or y-axis of other plots (e.g. geom_line), everything is drawn as expected.
I found out that the faulty log-scaling has nothing to do with the default pad=TRUE in stat_ecdf. I also found out that the transformation woks, when I'm feeding the the data extracted from the untransformed plot to a new plot with geom_step.
When I'm log-scaling the y-axis of CDF-plots (
stat_ecdf
), the y-values are drawn between 1 and 10 instead of 0 and 1. The y-values of the data extracted from the plot-object (ggplot_build(...)$data[[1]]$y
) are ranging from 0 to 1 instead of -1 to 0. When I'm log-scaling the x-axis of CDF-Plots or the x- or y-axis of other plots (e.g.geom_line
), everything is drawn as expected.Created on 2022-12-20 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: