Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move article to vignettes top-level + build ignore it #37

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
^pkgdown$
^\.github$
^man/figures$
^vignettes/articles$
^vignettes$
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ url: https://mtennekes.github.io/cols4all/
template:
bootstrap: 5
math-rendering: mathjax
assets: pkgdown/assets
56 changes: 28 additions & 28 deletions vignettes/articles/paper.Rmd → vignettes/paper.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ library(cols4all)
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/cols4all2.jpg")
knitr::include_graphics("../man/figures/cols4all2.jpg")
```

## Introduction
Expand Down Expand Up @@ -166,63 +166,63 @@ Palettes are organised by functional type. We distinguish the following types:
#| out.width = 400,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_cat.jpg")
knitr::include_graphics("../man/figures/ex_cat.jpg")
```

```{r expals2, fig.cap = "Example of palette type: sequential"}
#| fig.alt = "Example of palette type: sequential",
#| out.width = 400,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_seq.jpg")
knitr::include_graphics("../man/figures/ex_seq.jpg")
```

```{r expals3, fig.cap = "Example of palette type: diverging"}
#| fig.alt = "Example of palette type: diverging",
#| out.width = 400,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_div.jpg")
knitr::include_graphics("../man/figures/ex_div.jpg")
```

```{r expals4, fig.cap = "Example of palette type: cyclic"}
#| fig.alt = "Example of palette type: cyclic",
#| out.width = 400,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_cyc.jpg")
knitr::include_graphics("../man/figures/ex_cyc.jpg")
```

```{r expals5, fig.cap = "Example of palette type: bivariate (seq x seq)"}
#| fig.alt = "Example of palette type: bivariate (seq x seq)",
#| out.width = 200,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_bivs.jpg")
knitr::include_graphics("../man/figures/ex_bivs.jpg")
```

```{r expals6, fig.cap = "Example of palette type: bivariate (seq x cat)"}
#| fig.alt = "Example of palette type: bivariate (seq x cat)",
#| out.width = 200,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_bivc.jpg")
knitr::include_graphics("../man/figures/ex_bivc.jpg")
```

```{r expals7, fig.cap = "Example of palette type: bivariate (seq x div)"}
#| fig.alt = "Example of palette type: bivariate (seq x div)",
#| out.width = 200,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_bivd.jpg")
knitr::include_graphics("../man/figures/ex_bivd.jpg")
```

```{r expals8, fig.cap = "Example of palette type: bivariate (seq x desaturated)"}
#| fig.alt = "Example of palette type: bivariate (seq x desaturated)",
#| out.width = 200,
#| echo = FALSE

knitr::include_graphics("../../man/figures/ex_bivg.jpg")
knitr::include_graphics("../man/figures/ex_bivg.jpg")
```


Expand Down Expand Up @@ -392,7 +392,7 @@ To aid decision making a palette is called fair if the fairness score is at leas
#| out.width = 300,
#| echo = FALSE

knitr::include_graphics("../../man/figures/fairness.jpg")
knitr::include_graphics("../man/figures/fairness.jpg")
```


Expand Down Expand Up @@ -441,7 +441,7 @@ For diverging palettes, we calculate the hue widths for both wings. If at least
#| out.width = 400,
#| echo = FALSE

knitr::include_graphics("../../man/figures/necklace.jpg")
knitr::include_graphics("../man/figures/necklace.jpg")
```


Expand All @@ -457,7 +457,7 @@ In the middle column two similarity matrices are shown, above for people with no
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/cbf_okabe.jpg")
knitr::include_graphics("../man/figures/cbf_okabe.jpg")
```


Expand Down Expand Up @@ -486,7 +486,7 @@ Figure \@ref(fig:contrast) shows a bar chart of the contrast ratio values of the
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/contrast_powerbi_default.jpg")
knitr::include_graphics("../man/figures/contrast_powerbi_default.jpg")
```


Expand All @@ -502,7 +502,7 @@ Several visual illusions could appear at equiluminance, such as that the eye has
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics(c("../../man/figures/equi1.jpg", "../../man/figures/equi2.jpg"))
knitr::include_graphics(c("../man/figures/equi1.jpg", "../man/figures/equi2.jpg"))
```


Expand Down Expand Up @@ -533,7 +533,7 @@ Figure \@ref(fig:3dblues) illustrates this illusion with a categorical map of th
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/3Dblues_map.jpg")
knitr::include_graphics("../man/figures/3Dblues_map.jpg")
```


Expand Down Expand Up @@ -578,7 +578,7 @@ The variety of colors shown in the column headings are generated by the specifie
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/naming_tableau10.jpg")
knitr::include_graphics("../man/figures/naming_tableau10.jpg")
```


Expand Down Expand Up @@ -610,7 +610,7 @@ The columns on the right-hand side of the colors include symbols on which the us
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/overview_seq2.jpg")
knitr::include_graphics("../man/figures/overview_seq2.jpg")
```


Expand All @@ -619,7 +619,7 @@ knitr::include_graphics("../../man/figures/overview_seq2.jpg")
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/overview_div.jpg")
knitr::include_graphics("../man/figures/overview_div.jpg")
```


Expand All @@ -633,7 +633,7 @@ The properties fairness, hues, and vividness all use the HCL color space, and ar
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/hcl_carto_safe.jpg")
knitr::include_graphics("../man/figures/hcl_carto_safe.jpg")
```


Expand All @@ -653,7 +653,7 @@ Fairness and color blind friendliness often present conflicting objectives. Many
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/cols4all_fair_sort_cbf.jpg")
knitr::include_graphics("../man/figures/cols4all_fair_sort_cbf.jpg")
```


Expand All @@ -668,7 +668,7 @@ A severe issue that may induce visual bias for color blind people is illustrated
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/cols4all_matplotlib_spectral.jpg")
knitr::include_graphics("../man/figures/cols4all_matplotlib_spectral.jpg")
```


Expand All @@ -680,7 +680,7 @@ Several spectral sequential palettes from the series \texttt{scico} @scico, \tex
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/cols4all_seq_spectral.jpg")
knitr::include_graphics("../man/figures/cols4all_seq_spectral.jpg")
```


Expand All @@ -689,7 +689,7 @@ knitr::include_graphics("../../man/figures/cols4all_seq_spectral.jpg")
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/cols4all_div.jpg")
knitr::include_graphics("../man/figures/cols4all_div.jpg")
```


Expand Down Expand Up @@ -738,7 +738,7 @@ The used approach to find those palettes was the following:
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/c4a_pals.jpg")
knitr::include_graphics("../man/figures/c4a_pals.jpg")
```


Expand All @@ -748,7 +748,7 @@ knitr::include_graphics("../../man/figures/c4a_pals.jpg")
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/area7.jpg")
knitr::include_graphics("../man/figures/area7.jpg")
```


Expand All @@ -757,7 +757,7 @@ knitr::include_graphics("../../man/figures/area7.jpg")
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/area7d.jpg")
knitr::include_graphics("../man/figures/area7d.jpg")
```


Expand All @@ -766,7 +766,7 @@ knitr::include_graphics("../../man/figures/area7d.jpg")
#| out.width = 350,
#| echo = FALSE

knitr::include_graphics(c("../../man/figures/line7_wt.jpg", "../../man/figures/line7_bk.jpg"))
knitr::include_graphics(c("../man/figures/line7_wt.jpg", "../man/figures/line7_bk.jpg"))
```


Expand All @@ -775,7 +775,7 @@ knitr::include_graphics(c("../../man/figures/line7_wt.jpg", "../../man/figures/l
#| out.width = 700,
#| echo = FALSE

knitr::include_graphics("../../man/figures/friendly13.jpg")
knitr::include_graphics("../man/figures/friendly13.jpg")
```


Expand Down
Loading