Sigh. Don't do this. Setup your data frame with all the data you want to plot
and give it to one geom. Use group columns such as factors (e.g. color, size,
linetype, etc) to distinguish them.
Using multiple geoms with different mappings is usually a recipe for
disappointment. It also fails to c
On Fri, 23 Apr 2021 at 20:51, Chris Evans wrote:
>
> I may be quite wrong but isn't the for loop in the second example simply
overwriting/replacing the first p2 with the second whereas the p1 version
is adding the paths to p1.
>
> (If you see what I mean, I don't think I have expressed that very w
On Fri, 23 Apr 2021 at 20:11, Martin Møller Skarbiniks Pedersen <
traxpla...@gmail.com> wrote:
>
> Hi,
>
> I have some problems understanding how to use geom_path() inside a loop.
> I know the code below is a bit silly but it is just a MRE
> ( https://stackoverflow.com/help/minimal-reproducible-exa
Hi,
I have some problems understanding how to use geom_path() inside a loop.
I know the code below is a bit silly but it is just a MRE
( https://stackoverflow.com/help/minimal-reproducible-example )
p1 looks like I expect however p2 only contains the last square. I
expected p2 to be the same as p
4 matches
Mail list logo