Procházet zdrojové kódy

Final Readme tweaks

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

+ 7
- 7
Readme.Rmd Zobrazit soubor

@@ -33,6 +33,8 @@ This package provides a ggplot2 theme inspired by the [USDA Pomological Watercol

## Installation

This package isn't on CRAN, so you'll need to use the devtools package to install it.

```r
# If you don't have devtools installed
install.packages("devtools")
@@ -94,7 +96,7 @@ In the future, I might revisit this package to

## Demo!

We'll need dplyr and ggplot2 (loaded with **ggpomological**)
We'll need ggplot2 (loaded with **ggpomological**) and dplyr

```r
library(ggpomological)
@@ -113,20 +115,18 @@ basic_iris_plot <- ggplot(iris) +
basic_iris_plot

# With pomological colors
basic_iris_plot <- basic_iris_plot +
scale_color_pomological()
basic_iris_plot <- basic_iris_plot + scale_color_pomological()
basic_iris_plot

# With pomological theme
pomological_iris <- basic_iris_plot + theme_pomological()
pomological_iris

# With transparent background
basic_iris_plot +
theme_pomological_nobg()
basic_iris_plot + theme_pomological_nobg()

# Or with "plain" pomological
basic_iris_plot +
theme_pomological_plain()
basic_iris_plot + theme_pomological_plain()

# Painted!
paint_pomological(pomological_iris, res = 110) %>%

+ 14
- 9
Readme.md Zobrazit soubor

@@ -19,6 +19,9 @@ parameterized RMarkdown](https://youtu.be/Ol1FjFR2IMU?t=5h21m15s) at

## Installation

This package isn’t on CRAN, so you’ll need to use the devtools package
to install it.

``` r
# If you don't have devtools installed
install.packages("devtools")
@@ -98,7 +101,7 @@ texture overlay.

## Demo\!

We’ll need dplyr and ggplot2 (loaded with **ggpomological**)
We’ll need ggplot2 (loaded with **ggpomological**) and dplyr

``` r
library(ggpomological)
@@ -121,8 +124,7 @@ basic_iris_plot

``` r
# With pomological colors
basic_iris_plot <- basic_iris_plot +
scale_color_pomological()
basic_iris_plot <- basic_iris_plot + scale_color_pomological()
basic_iris_plot
```

@@ -131,21 +133,24 @@ basic_iris_plot
``` r
# With pomological theme
pomological_iris <- basic_iris_plot + theme_pomological()
pomological_iris
```

![](Readme_files/figure-gfm/plot-demo-3.png)<!-- -->

``` r
# With transparent background
basic_iris_plot +
theme_pomological_nobg()
basic_iris_plot + theme_pomological_nobg()
```

![](Readme_files/figure-gfm/plot-demo-3.png)<!-- -->
![](Readme_files/figure-gfm/plot-demo-4.png)<!-- -->

``` r
# Or with "plain" pomological
basic_iris_plot +
theme_pomological_plain()
basic_iris_plot + theme_pomological_plain()
```

![](Readme_files/figure-gfm/plot-demo-4.png)<!-- -->
![](Readme_files/figure-gfm/plot-demo-5.png)<!-- -->

``` r
# Painted!

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-3.png Zobrazit soubor

Před Za
Šířka: 768  |  Výška: 480  |  Velikost: 53KB Šířka: 768  |  Výška: 480  |  Velikost: 53KB

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

Před Za
Šířka: 768  |  Výška: 480  |  Velikost: 43KB Šířka: 768  |  Výška: 480  |  Velikost: 53KB

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

Před Za
Šířka: 768  |  Výška: 480  |  Velikost: 43KB

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