Fix two typos (#710)
This commit is contained in:
parent
a808d61a88
commit
428e1d2186
|
@ -357,7 +357,7 @@ ggplot(diamonds, aes(carat, price)) +
|
|||
scale_y_log10()
|
||||
```
|
||||
|
||||
Another scale that is frequently customised is colour.The default categorical scale picks colours that are evenly spaced around the colour wheel. Useful alternatives are the ColorBrewer scales which have been hand tuned to work better for people with common types of colour blindness. The two plots below look similar, but there is enough difference in the shades of red and green that the dots on the right can be distinguished even by people with red-green colour blindness.
|
||||
Another scale that is frequently customised is colour. The default categorical scale picks colours that are evenly spaced around the colour wheel. Useful alternatives are the ColorBrewer scales which have been hand tuned to work better for people with common types of colour blindness. The two plots below look similar, but there is enough difference in the shades of red and green that the dots on the right can be distinguished even by people with red-green colour blindness.
|
||||
|
||||
```{r, fig.align = "default", out.width = "50%"}
|
||||
ggplot(mpg, aes(displ, hwy)) +
|
||||
|
@ -550,7 +550,7 @@ I only ever use three of the five options:
|
|||
adjust `fig.asp`.
|
||||
|
||||
* I control the output size with `out.width` and set it to a percentage
|
||||
of the line width). I default to `out.width = "70%"`
|
||||
of the line width. I default to `out.width = "70%"`
|
||||
and `fig.align = "center"`. That give plots room to breathe, without taking
|
||||
up too much space.
|
||||
|
||||
|
|
Loading…
Reference in New Issue