|
### Shape by a variable |
|
|
|
```{r} |
|
g2(iris, x = 'Sepal.Width', y = 'Sepal.Length', shape = 'Species') |> |
|
mark_point() |
|
``` |
the shapes in the legend and those used in the plot don't match: the legend shows squares, up/down triangles, but the plot uses circles, diamonds, and hexagons
gglite/examples/marks.Rmd
Lines 27 to 32 in d60857b
the shapes in the legend and those used in the plot don't match: the legend shows squares, up/down triangles, but the plot uses circles, diamonds, and hexagons