Skip to content
Prev 386078 / 398513 Next

How to shade area between lines in ggplot2

Thank you, but this split the area into two and distorts the shape of
the plot. (compared to
```
p + geom_abline(slope = slope_1, intercept = intercept_1 - 1/w[2],
                    linetype = "dashed", col = "royalblue") +
  geom_abline(slope = slope_1, intercept = intercept_1 + 1/w[2],
              linetype = "dashed", col = "royalblue")
```

Why there is a hole in the middle of the ribbon? and the color is not grey...
On Fri, Oct 23, 2020 at 2:35 PM PIKAL Petr <petr.pikal at precheza.cz> wrote: