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{
|
||||
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;
|
||||
}
|
||||
|
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,
|
||||
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 |
Reference in New Issue
Block a user