-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.tex
More file actions
38 lines (35 loc) · 871 Bytes
/
example.tex
File metadata and controls
38 lines (35 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
\documentclass{standalone}
\usepackage{bubbleplot}
\definecolor{2017}{rgb}{0.9248648648648647, 0.9751351351351352, 0.947027027027027}
\definecolor{2018}{rgb}{0.5511687604559576, 0.7592733771834118, 0.6429138065401041}
\definecolor{2019}{rgb}{0.1803921568627451, 0.5450980392156862, 0.3411764705882353}
\pgfplotsset{
colormap={yearcolor}{
color=(2017),
color=(2018),
color=(2019),
}
}
\begin{document}
\bubbleplot[%
width=7mm,
height=1cm,
xmin=-10,
xmax=8,
ylabel=Snakes,
meta=nbr,
enlarge y limits=0.3,
x field=x,
x index field=ix,
y field=y,
y index field=iy,
year field=years,
year x shift=-1.4cm,
year y shift=3.5cm,
year padding=12,
x left label=Fishes,
x left label shift=3cm,
x right label=Birds,
x right label shift=2cm,
]{example.csv}{2017, 2018, 2019}
\end{document}