Skip to content

Commit ec32b80

Browse files
committed
add linetype graphic to documentation
1 parent 32a2620 commit ec32b80

File tree

4 files changed

+78
-0
lines changed

4 files changed

+78
-0
lines changed

R/scale-linetype.R

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
#' @inheritDotParams discrete_scale -expand -position -na.value -scale_name -palette
1010
#' @param na.value The linetype to use for `NA` values.
1111
#' @rdname scale_linetype
12+
#' @details
13+
#' Lines can be referred to by number, name or hex code. Contrary to base R
14+
#' graphics, `NA`s are interpreted as blanks.
15+
#'
16+
#' \if{html}{\figure{linetype_table.svg}{Named linetypes by number and name}}
17+
#' \if{latex}{\figure{linetype_table.pdf}}
18+
#'
19+
#'
1220
#' @seealso
1321
#' The documentation for [differentiation related aesthetics][aes_linetype_size_shape].
1422
#'

man/figures/linetype_table.pdf

4.2 KB
Binary file not shown.

man/figures/linetype_table.svg

Lines changed: 63 additions & 0 deletions
Loading

man/scale_linetype.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)