|
1 | 1 | \begin{tikzpicture} |
2 | 2 |
|
| 3 | +\definecolor{gray069}{gray}{0.6901960784313725} |
| 4 | +\definecolor{green01270}{RGB}{0,127,0} |
| 5 | +\definecolor{gray080}{gray}{0.8} |
| 6 | + |
3 | 7 | \begin{axis}[ |
4 | 8 | legend cell align={left}, |
5 | | -legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=white!80!black}, |
| 9 | +legend style={fill opacity=0.8, draw opacity=1, text opacity=1, draw=gray080}, |
6 | 10 | tick align=outside, |
7 | 11 | tick pos=left, |
8 | | -x grid style={white!69.019608!black}, |
| 12 | +x grid style={gray069}, |
9 | 13 | xmin=-0.5125, xmax=2.5125, |
10 | 14 | xtick style={color=black}, |
11 | | -y grid style={white!69.019608!black}, |
| 15 | +y grid style={gray069}, |
12 | 16 | ymin=0, ymax=5.25, |
13 | 17 | ytick style={color=black} |
14 | 18 | ] |
|
18 | 22 |
|
19 | 23 | \draw[draw=none,fill=blue] (axis cs:0.625,0) rectangle (axis cs:0.875,2); |
20 | 24 | \draw[draw=none,fill=blue] (axis cs:1.625,0) rectangle (axis cs:1.875,3); |
21 | | -\draw[draw=none,fill=green!50!black] (axis cs:-0.125,0) rectangle (axis cs:0.125,3); |
| 25 | +\draw[draw=none,fill=green01270] (axis cs:-0.125,0) rectangle (axis cs:0.125,3); |
22 | 26 | \addlegendimage{ybar,ybar legend,draw=none,fill=green!50!black} |
23 | 27 | \addlegendentry{Data 2} |
24 | 28 |
|
25 | | -\draw[draw=none,fill=green!50!black] (axis cs:0.875,0) rectangle (axis cs:1.125,2); |
26 | | -\draw[draw=none,fill=green!50!black] (axis cs:1.875,0) rectangle (axis cs:2.125,4); |
| 29 | +\draw[draw=none,fill=green01270] (axis cs:0.875,0) rectangle (axis cs:1.125,2); |
| 30 | +\draw[draw=none,fill=green01270] (axis cs:1.875,0) rectangle (axis cs:2.125,4); |
27 | 31 | \draw[draw=none,fill=red] (axis cs:0.125,0) rectangle (axis cs:0.375,5); |
28 | 32 | \addlegendimage{ybar,ybar legend,draw=none,fill=red} |
29 | 33 | \addlegendentry{Data 3} |
|
0 commit comments