better image CSS, better chart

This commit is contained in:
Phuntsok Drak-pa
2019-06-02 14:55:08 +02:00
parent 1e549d64b0
commit 97ff539c0f
4 changed files with 365 additions and 359 deletions
+4 -1
View File
@@ -395,7 +395,6 @@ table tr:nth-child(2n) td{
.figure p{
color:#000;
font:italic 85%/1 arial,sans-serif;
padding:1em 0;
}
.rotate-90{
@@ -1109,3 +1108,7 @@ li, p, dd {
pre.src:before {
top: 0;
}
.figure {
padding: 0;
}
+356 -355
View File
File diff suppressed because it is too large Load Diff
+5 -3
View File
@@ -259,7 +259,7 @@
bouddhiste et 2% de la population suit des religions diverses (Hindouisme,
Chamanisme,…).
#+name: religion-piechart
#+name: fig:religion-piechart
#+BEGIN_SRC R :exports results :results graphics :file religious-pop.png :bg transparent
slices <- c(68, 15, 9, 6, 2)
lbls <- c("Paganisme", "Athéisme", "Monothéismes divers",
@@ -267,11 +267,13 @@
pct <- round(slices/sum(slices)*100)
lbls <- paste(lbls, pct)
lbls <- paste(lbls, "%", sep = "")
par(mar=c(0,0,0.7,3))
pie(slices, labels = lbls, col = rainbow(length(lbls)),
main = "Religions d’Éïnlante")
#+END_SRC
#+RESULTS: religion-piechart
#+CAPTION: Population religieuse d’Éïnlante
#+LABEL: fig:religion-piechart
#+RESULTS: fig:religion-piechart
[[file:religious-pop.png]]
** Histoire
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 20 KiB