From 280ab8b6045c872ecc20530cc9335b9795f0110a Mon Sep 17 00:00:00 2001 From: Mark Beveridge Date: Thu, 30 Sep 2021 17:48:27 +0100 Subject: [PATCH] consistent with treatment of *alpha* ? (#964) add emphasis, to be consistent with treatment of *alpha* ? ... row189 : "or to the shape aesthetic" --> "or to the *shape* aesthetic" [sorry if I've forgotten how to use github] --- data-visualize.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-visualize.Rmd b/data-visualize.Rmd index 94ffa6f..cd5c88f 100644 --- a/data-visualize.Rmd +++ b/data-visualize.Rmd @@ -186,7 +186,7 @@ ggplot(data = mpg) + geom_point(mapping = aes(x = displ, y = hwy, size = class)) ``` -Or we could have mapped `class` to the *alpha* aesthetic, which controls the transparency of the points, or to the shape aesthetic, which controls the shape of the points. +Or we could have mapped `class` to the *alpha* aesthetic, which controls the transparency of the points, or to the *shape* aesthetic, which controls the shape of the points. ```{r, out.width = "50%", fig.align = 'default', warning = FALSE, fig.asp = 1/2, fig.cap ="", fig.alt = "Two scatterplots next to each other, both visualizing highway fuel efficiency versus engine size of cars in ggplot2::mpg and showing a negative association. In the plot on the left class is mapped to the alpha aesthetic, resulting in different transparency levels for each level of class. In the plot on the right class is mapped the shape aesthetic, resulting in different plotting character shapes for each level of class. Each plot comes with a legend that shows the mapping between alpha level or shape and levels of the class variable."} # Left