Procházet zdrojové kódy

Update ggpomological header image

pull/4/head
Garrick Aden-Buie před 8 roky
rodič
revize
171f4bd5a1
8 změnil soubory, kde provedl 19 přidání a 2 odebrání
  1. +18
    -1
      Readme.Rmd
  2. +1
    -1
      Readme.md
  3. binární
      Readme_files/figure-gfm/ggpomological.png
  4. binární
      Readme_files/figure-gfm/plot-bar-chart-painted.png
  5. binární
      Readme_files/figure-gfm/plot-demo-painted.png
  6. binární
      Readme_files/figure-gfm/plot-density-demo-painted.png
  7. binární
      Readme_files/figure-gfm/plot-full-bar-stack-painted.png
  8. binární
      Readme_files/figure-gfm/plot-ridges-painted.png

+ 18
- 1
Readme.Rmd Zobrazit soubor

@@ -27,7 +27,24 @@ library(dplyr)

This package provides a ggplot2 theme inspired by the [USDA Pomological Watercolors collection][usda-pom] and by Aron Atkins's ([\@aronatkins][t-aronatkins]) [talk on parameterized RMarkdown][rsconf-video] at [rstudio::conf 2018][rstudioconf].

![](Readme_files/figure-gfm/plot-bar-chart-painted.png)
```{r header-demo, echo=FALSE, message=FALSE, warning=FALSE}
fruits <- c("Apple", "Apricot", "Banana", "Fig", "Cherry", "Kiwi", "Grape", "Mango", "Papaya", "Orange", "Peach", "Pear")
readr::read_tsv("https://cs.joensuu.fi/sipu/datasets/Compound.txt", col_names = FALSE) %>%
filter(X3 < 10) %>%
mutate(X3 = sample(fruits, length(unique(X3)))[X3]) %>%
{
ggplot(., aes(x = X1, y = X2, color = X3)) +
geom_point() +
labs(x = "Space", y = "Time",
color = "Fruit", title = "ggpomological") +
scale_color_pomological() +
theme_pomological()
} %>%
paint_pomological(res = 110) %>%
magick::image_write("Readme_files/figure-gfm/ggpomological.png")
```

![](Readme_files/figure-gfm/ggpomological.png)

![](Readme_files/pom-examples.jpg)


+ 1
- 1
Readme.md Zobrazit soubor

@@ -13,7 +13,7 @@ Aron Atkins’s ([@aronatkins](https://twitter.com/aronatkins)) [talk on
parameterized RMarkdown](https://youtu.be/Ol1FjFR2IMU?t=5h21m15s) at
[rstudio::conf 2018](https://www.rstudio.com/conference/).

![](Readme_files/figure-gfm/plot-bar-chart-painted.png)
![](Readme_files/figure-gfm/ggpomological.png)

![](Readme_files/pom-examples.jpg)


binární
Readme_files/figure-gfm/ggpomological.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 500  |  Velikost: 563KB

binární
Readme_files/figure-gfm/plot-bar-chart-painted.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 500  |  Velikost: 531KB Šířka: 800  |  Výška: 500  |  Velikost: 531KB

binární
Readme_files/figure-gfm/plot-demo-painted.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 500  |  Velikost: 534KB Šířka: 800  |  Výška: 500  |  Velikost: 534KB

binární
Readme_files/figure-gfm/plot-density-demo-painted.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 500  |  Velikost: 515KB Šířka: 800  |  Výška: 500  |  Velikost: 515KB

binární
Readme_files/figure-gfm/plot-full-bar-stack-painted.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 500  |  Velikost: 509KB Šířka: 800  |  Výška: 500  |  Velikost: 509KB

binární
Readme_files/figure-gfm/plot-ridges-painted.png Zobrazit soubor

Před Za
Šířka: 800  |  Výška: 500  |  Velikost: 528KB Šířka: 800  |  Výška: 500  |  Velikost: 528KB

Načítá se…
Zrušit
Uložit