better image CSS, better chart
This commit is contained in:
parent
1e549d64b0
commit
97ff539c0f
@ -395,7 +395,6 @@ table tr:nth-child(2n) td{
|
|||||||
.figure p{
|
.figure p{
|
||||||
color:#000;
|
color:#000;
|
||||||
font:italic 85%/1 arial,sans-serif;
|
font:italic 85%/1 arial,sans-serif;
|
||||||
padding:1em 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.rotate-90{
|
.rotate-90{
|
||||||
@ -1109,3 +1108,7 @@ li, p, dd {
|
|||||||
pre.src:before {
|
pre.src:before {
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.figure {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -259,7 +259,7 @@
|
|||||||
bouddhiste et 2% de la population suit des religions diverses (Hindouisme,
|
bouddhiste et 2% de la population suit des religions diverses (Hindouisme,
|
||||||
Chamanisme,…).
|
Chamanisme,…).
|
||||||
|
|
||||||
#+name: religion-piechart
|
#+name: fig:religion-piechart
|
||||||
#+BEGIN_SRC R :exports results :results graphics :file religious-pop.png :bg transparent
|
#+BEGIN_SRC R :exports results :results graphics :file religious-pop.png :bg transparent
|
||||||
slices <- c(68, 15, 9, 6, 2)
|
slices <- c(68, 15, 9, 6, 2)
|
||||||
lbls <- c("Paganisme", "Athéisme", "Monothéismes divers",
|
lbls <- c("Paganisme", "Athéisme", "Monothéismes divers",
|
||||||
@ -267,11 +267,13 @@
|
|||||||
pct <- round(slices/sum(slices)*100)
|
pct <- round(slices/sum(slices)*100)
|
||||||
lbls <- paste(lbls, pct)
|
lbls <- paste(lbls, pct)
|
||||||
lbls <- paste(lbls, "%", sep = "")
|
lbls <- paste(lbls, "%", sep = "")
|
||||||
|
par(mar=c(0,0,0.7,3))
|
||||||
pie(slices, labels = lbls, col = rainbow(length(lbls)),
|
pie(slices, labels = lbls, col = rainbow(length(lbls)),
|
||||||
main = "Religions d’Éïnlante")
|
main = "Religions d’Éïnlante")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
#+CAPTION: Population religieuse d’Éïnlante
|
||||||
#+RESULTS: religion-piechart
|
#+LABEL: fig:religion-piechart
|
||||||
|
#+RESULTS: fig:religion-piechart
|
||||||
[[file:religious-pop.png]]
|
[[file:religious-pop.png]]
|
||||||
|
|
||||||
** Histoire
|
** Histoire
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 20 KiB |
Reference in New Issue
Block a user