Explorar el Código

Final Readme tweaks

pull/1/head
Garrick Aden-Buie hace 8 años
padre
commit
2879fce118
Se han modificado 10 ficheros con 21 adiciones y 16 borrados
  1. +7
    -7
      Readme.Rmd
  2. +14
    -9
      Readme.md
  3. BIN
      Readme_files/figure-gfm/plot-bar-chart-painted.png
  4. BIN
      Readme_files/figure-gfm/plot-demo-3.png
  5. BIN
      Readme_files/figure-gfm/plot-demo-4.png
  6. BIN
      Readme_files/figure-gfm/plot-demo-5.png
  7. BIN
      Readme_files/figure-gfm/plot-demo-painted.png
  8. BIN
      Readme_files/figure-gfm/plot-density-demo-painted.png
  9. BIN
      Readme_files/figure-gfm/plot-full-bar-stack-painted.png
  10. BIN
      Readme_files/figure-gfm/plot-ridges-painted.png

+ 7
- 7
Readme.Rmd Ver fichero

@@ -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 Ver fichero

@@ -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
Readme_files/figure-gfm/plot-bar-chart-painted.png Ver fichero

Antes Después
Anchura: 800  |  Altura: 500  |  Tamaño: 531KB Anchura: 800  |  Altura: 500  |  Tamaño: 531KB

BIN
Readme_files/figure-gfm/plot-demo-3.png Ver fichero

Antes Después
Anchura: 768  |  Altura: 480  |  Tamaño: 53KB Anchura: 768  |  Altura: 480  |  Tamaño: 53KB

BIN
Readme_files/figure-gfm/plot-demo-4.png Ver fichero

Antes Después
Anchura: 768  |  Altura: 480  |  Tamaño: 43KB Anchura: 768  |  Altura: 480  |  Tamaño: 53KB

BIN
Readme_files/figure-gfm/plot-demo-5.png Ver fichero

Antes Después
Anchura: 768  |  Altura: 480  |  Tamaño: 43KB

BIN
Readme_files/figure-gfm/plot-demo-painted.png Ver fichero

Antes Después
Anchura: 800  |  Altura: 500  |  Tamaño: 534KB Anchura: 800  |  Altura: 500  |  Tamaño: 534KB

BIN
Readme_files/figure-gfm/plot-density-demo-painted.png Ver fichero

Antes Después
Anchura: 800  |  Altura: 500  |  Tamaño: 515KB Anchura: 800  |  Altura: 500  |  Tamaño: 515KB

BIN
Readme_files/figure-gfm/plot-full-bar-stack-painted.png Ver fichero

Antes Después
Anchura: 800  |  Altura: 500  |  Tamaño: 509KB Anchura: 800  |  Altura: 500  |  Tamaño: 509KB

BIN
Readme_files/figure-gfm/plot-ridges-painted.png Ver fichero

Antes Después
Anchura: 800  |  Altura: 500  |  Tamaño: 528KB Anchura: 800  |  Altura: 500  |  Tamaño: 528KB

Cargando…
Cancelar
Guardar