Pārlūkot izejas kodu

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

* and panel.grid.minor=element_blank()
pull/4/head
Garrick Aden-Buie pirms 8 gadiem
vecāks
revīzija
4dac9298d9
12 mainītis faili ar 16 papildinājumiem un 8 dzēšanām
  1. +8
    -4
      Readme.Rmd
  2. +8
    -4
      Readme.md
  3. Binārs
      Readme_files/figure-gfm/plot-bar-chart-1.png
  4. Binārs
      Readme_files/figure-gfm/plot-bar-chart-painted.png
  5. Binārs
      Readme_files/figure-gfm/plot-demo-2.png
  6. Binārs
      Readme_files/figure-gfm/plot-demo-3.png
  7. Binārs
      Readme_files/figure-gfm/plot-demo-painted.png
  8. Binārs
      Readme_files/figure-gfm/plot-density-1.png
  9. Binārs
      Readme_files/figure-gfm/plot-density-demo-painted.png
  10. Binārs
      Readme_files/figure-gfm/plot-full-bar-stack-1.png
  11. Binārs
      Readme_files/figure-gfm/plot-full-bar-stack-painted.png
  12. Binārs
      Readme_files/figure-gfm/plot-ridges-painted.png

+ 8
- 4
Readme.Rmd Parādīt failu

@@ -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 Parādīt failu

@@ -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ārs
Readme_files/figure-gfm/plot-bar-chart-1.png Parādīt failu

Pirms Pēc
Platums: 768  |  Augstums: 480  |  Izmērs: 50KB Platums: 768  |  Augstums: 480  |  Izmērs: 45KB

Binārs
Readme_files/figure-gfm/plot-bar-chart-painted.png Parādīt failu

Pirms Pēc
Platums: 800  |  Augstums: 500  |  Izmērs: 528KB Platums: 800  |  Augstums: 500  |  Izmērs: 524KB

Binārs
Readme_files/figure-gfm/plot-demo-2.png Parādīt failu

Pirms Pēc
Platums: 768  |  Augstums: 480  |  Izmērs: 73KB Platums: 768  |  Augstums: 480  |  Izmērs: 67KB

Binārs
Readme_files/figure-gfm/plot-demo-3.png Parādīt failu

Pirms Pēc
Platums: 768  |  Augstums: 480  |  Izmērs: 74KB Platums: 768  |  Augstums: 480  |  Izmērs: 68KB

Binārs
Readme_files/figure-gfm/plot-demo-painted.png Parādīt failu

Pirms Pēc
Platums: 800  |  Augstums: 500  |  Izmērs: 536KB Platums: 800  |  Augstums: 500  |  Izmērs: 531KB

Binārs
Readme_files/figure-gfm/plot-density-1.png Parādīt failu

Pirms Pēc
Platums: 768  |  Augstums: 480  |  Izmērs: 70KB Platums: 768  |  Augstums: 480  |  Izmērs: 63KB

Binārs
Readme_files/figure-gfm/plot-density-demo-painted.png Parādīt failu

Pirms Pēc
Platums: 800  |  Augstums: 500  |  Izmērs: 515KB Platums: 800  |  Augstums: 500  |  Izmērs: 511KB

Binārs
Readme_files/figure-gfm/plot-full-bar-stack-1.png Parādīt failu

Pirms Pēc
Platums: 768  |  Augstums: 480  |  Izmērs: 59KB Platums: 768  |  Augstums: 480  |  Izmērs: 55KB

Binārs
Readme_files/figure-gfm/plot-full-bar-stack-painted.png Parādīt failu

Pirms Pēc
Platums: 800  |  Augstums: 500  |  Izmērs: 508KB Platums: 800  |  Augstums: 500  |  Izmērs: 506KB

Binārs
Readme_files/figure-gfm/plot-ridges-painted.png Parādīt failu

Pirms Pēc
Platums: 800  |  Augstums: 500  |  Izmērs: 521KB Platums: 800  |  Augstums: 500  |  Izmērs: 522KB

Notiek ielāde…
Atcelt
Saglabāt