Skip to content

Commit

Permalink
修复引用
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangyunHuang committed Jun 19, 2020
1 parent 8f96ac8 commit 70731b5
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
31 changes: 31 additions & 0 deletions book.bib
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,37 @@ @Article{Peter_1990_epil
URL = {https://www.jstor.org/stable/2532086},
}

@TechReport{colorspace_2019,
title = {{colorspace}: A Toolbox for Manipulating and Assessing Colors and Palettes},
author = {Achim Zeileis and Jason C. Fisher and Kurt Hornik and Ross Ihaka and Claire D. McWhite and Paul Murrell and Reto Stauffer and Claus O. Wilke},
year = {2019},
institution = {arXiv.org E-Print Archive},
type = {arXiv},
number = {1903.06490},
month = {March},
url = {http://arxiv.org/abs/1903.06490},
}
@Article{colorspace_2009_rainbow,
title = {Somewhere over the Rainbow: How to Make Effective Use of Colors in Meteorological Visualizations},
author = {Reto Stauffer and Georg J. Mayr and Markus Dabernig and Achim Zeileis},
journal = {Bulletin of the American Meteorological Society},
year = {2009},
volume = {96},
number = {2},
pages = {203--216},
doi = {10.1175/BAMS-D-13-00155.1},
}

@Article{colorspace_2009_rgb,
title = {Escaping {RGB}land: Selecting Colors for Statistical Graphics},
author = {Achim Zeileis and Kurt Hornik and Paul Murrell},
journal = {Computational Statistics \& Data Analysis},
year = {2009},
volume = {53},
number = {9},
pages = {3259--3270},
doi = {10.1016/j.csda.2008.11.033},
}
@Article{Tukey_1962_Data,
author = {John W. Tukey},
title = {The Future of Data Analysis},
Expand Down
6 changes: 3 additions & 3 deletions data-visualization.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ filled.contour(volcano, nlevels = 10, color.palette = function(n, ...) hcl.color
filled.contour(volcano, nlevels = 10, color.palette = function(n, ...) hcl.colors(n, "viridis", rev = FALSE, ...))
```

::: rmdnote
::: {.rmdnote data-latex="{注意}"}
`hcl.colors()` 函数是在 R 3.6.0 引入的,之前的 R 软件版本中没有,同时内置了 110 个调色板,详见 `hcl.pals()`
:::

Expand Down Expand Up @@ -520,9 +520,9 @@ par(op)

除之前提到的 grDevices 包

- [colorspace](http://colorspace.r-forge.r-project.org/)[@R-colorspace]
- [colorspace](http://colorspace.r-forge.r-project.org/)[@colorspace_2009_rainbow;@colorspace_2009_rgb;@colorspace_2019]

- [RColorBrewer](https://CRAN.R-project.org/package=RColorBrewer)[@R-RColorBrewer] <http://colorbrewer2.org/>
- [RColorBrewer](https://CRAN.R-project.org/package=RColorBrewer)[@RColorBrewer] <http://colorbrewer2.org/>

- [viridis](https://github.com/sjmgarnier/viridis) 包、

Expand Down
2 changes: 1 addition & 1 deletion references.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
bib <- knitr::write_bib(
x = c(
.packages(), "knitr", "rmarkdown", "bookdown", "gganimate", "gifski",
'gam', 'mda', 'pspearman', 'Kendall', 'SuppDists', 'xkcd', 'fontcm'
'gam', 'mda', 'pspearman', 'Kendall', 'SuppDists', 'xkcd', 'fontcm', 'RColorBrewer'
), file = NULL, prefix = ""
)
bib <- unlist(bib)
Expand Down

0 comments on commit 70731b5

Please sign in to comment.