Ver código fonte

Set panel.grid colors for panel.grid.major also

* and panel.grid.minor=element_blank()
pull/4/head
Garrick Aden-Buie 8 anos atrás
pai
commit
4dac9298d9
12 arquivos alterados com 16 adições e 8 exclusões
  1. +8
    -4
      Readme.Rmd
  2. +8
    -4
      Readme.md
  3. BIN
      Readme_files/figure-gfm/plot-bar-chart-1.png
  4. BIN
      Readme_files/figure-gfm/plot-bar-chart-painted.png
  5. BIN
      Readme_files/figure-gfm/plot-demo-2.png
  6. BIN
      Readme_files/figure-gfm/plot-demo-3.png
  7. BIN
      Readme_files/figure-gfm/plot-demo-painted.png
  8. BIN
      Readme_files/figure-gfm/plot-density-1.png
  9. BIN
      Readme_files/figure-gfm/plot-density-demo-painted.png
  10. BIN
      Readme_files/figure-gfm/plot-full-bar-stack-1.png
  11. BIN
      Readme_files/figure-gfm/plot-full-bar-stack-painted.png
  12. BIN
      Readme_files/figure-gfm/plot-ridges-painted.png

+ 8
- 4
Readme.Rmd Ver arquivo

@@ -105,17 +105,21 @@ pomological_theme <- function(
text = element_text(
family = base_family,
size = base_size,
color = ifelse(hasArg(text.color), text.color, pomological_base$dark_blue)
colour = ifelse(hasArg(text.color), text.color, pomological_base$dark_blue)
),
plot.background = element_rect(
fill = ifelse(hasArg(plot.background.color), plot.background.color, pomological_base$paper),
color = NA
colour = NA
),
panel.grid = element_line(
color = ifelse(hasArg(panel.grid.color), panel.grid.color, pomological_base$light_line),
colour = ifelse(hasArg(panel.grid.color), panel.grid.color, pomological_base$light_line),
linetype = panel.grid.linetype),
panel.grid.major = element_line(
colour = ifelse(hasArg(panel.grid.color), panel.grid.color, pomological_base$light_line),
linetype = panel.grid.linetype),
panel.grid.minor = element_blank(),
axis.text = element_text(
color = ifelse(hasArg(axis.text.color), axis.text.color, pomological_base$medium_line),
colour = ifelse(hasArg(axis.text.color), axis.text.color, pomological_base$medium_line),
size = axis.text.size)
)
}

+ 8
- 4
Readme.md Ver arquivo

@@ -104,17 +104,21 @@ pomological_theme <- function(
text = element_text(
family = base_family,
size = base_size,
color = ifelse(hasArg(text.color), text.color, pomological_base$dark_blue)
colour = ifelse(hasArg(text.color), text.color, pomological_base$dark_blue)
),
plot.background = element_rect(
fill = ifelse(hasArg(plot.background.color), plot.background.color, pomological_base$paper),
color = NA
colour = NA
),
panel.grid = element_line(
color = ifelse(hasArg(panel.grid.color), panel.grid.color, pomological_base$light_line),
colour = ifelse(hasArg(panel.grid.color), panel.grid.color, pomological_base$light_line),
linetype = panel.grid.linetype),
panel.grid.major = element_line(
colour = ifelse(hasArg(panel.grid.color), panel.grid.color, pomological_base$light_line),
linetype = panel.grid.linetype),
panel.grid.minor = element_blank(),
axis.text = element_text(
color = ifelse(hasArg(axis.text.color), axis.text.color, pomological_base$medium_line),
colour = ifelse(hasArg(axis.text.color), axis.text.color, pomological_base$medium_line),
size = axis.text.size)
)
}

BIN
Readme_files/figure-gfm/plot-bar-chart-1.png Ver arquivo

Antes Depois
Largura: 768  |  Altura: 480  |  Tamanho: 50KB Largura: 768  |  Altura: 480  |  Tamanho: 45KB

BIN
Readme_files/figure-gfm/plot-bar-chart-painted.png Ver arquivo

Antes Depois
Largura: 800  |  Altura: 500  |  Tamanho: 528KB Largura: 800  |  Altura: 500  |  Tamanho: 524KB

BIN
Readme_files/figure-gfm/plot-demo-2.png Ver arquivo

Antes Depois
Largura: 768  |  Altura: 480  |  Tamanho: 73KB Largura: 768  |  Altura: 480  |  Tamanho: 67KB

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

Antes Depois
Largura: 768  |  Altura: 480  |  Tamanho: 74KB Largura: 768  |  Altura: 480  |  Tamanho: 68KB

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

Antes Depois
Largura: 800  |  Altura: 500  |  Tamanho: 536KB Largura: 800  |  Altura: 500  |  Tamanho: 531KB

BIN
Readme_files/figure-gfm/plot-density-1.png Ver arquivo

Antes Depois
Largura: 768  |  Altura: 480  |  Tamanho: 70KB Largura: 768  |  Altura: 480  |  Tamanho: 63KB

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

Antes Depois
Largura: 800  |  Altura: 500  |  Tamanho: 515KB Largura: 800  |  Altura: 500  |  Tamanho: 511KB

BIN
Readme_files/figure-gfm/plot-full-bar-stack-1.png Ver arquivo

Antes Depois
Largura: 768  |  Altura: 480  |  Tamanho: 59KB Largura: 768  |  Altura: 480  |  Tamanho: 55KB

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

Antes Depois
Largura: 800  |  Altura: 500  |  Tamanho: 508KB Largura: 800  |  Altura: 500  |  Tamanho: 506KB

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

Antes Depois
Largura: 800  |  Altura: 500  |  Tamanho: 521KB Largura: 800  |  Altura: 500  |  Tamanho: 522KB

Carregando…
Cancelar
Salvar