\documentclass[tikz,border=5pt]{standalone}
\usepackage[table]{xcolor}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}[scale=0.4]
\definecolor{darkgray176}{RGB}{176,176,176}
\definecolor{goldenrod1911910}{RGB}{191,191,0}
\definecolor{green01270}{RGB}{0,127,0}
\definecolor{lightgray204}{RGB}{204,204,204}
\begin{axis}[
legend cell align={left},
legend style={at={(0.5,-0.17)},fill opacity=0.1, draw opacity=1, text opacity=1,
draw=lightgray204,anchor=north,legend cell align=left},
tick align=outside,
tick pos=left,
x grid style={darkgray176},
xlabel={Distance of Wood Harvest Cutoff Age from Maximum Age},
xmin=-1.45, xmax=52.45,
xtick style={color=black},
y grid style={darkgray176},
ylabel={Amount of Benefits},
ymin=13654208121.5386, ymax=464157425615.392,
ytick style={color=black}
]
\addplot [semithick, blue]
table {
1 443680006638.399
2 443622901233.17
3 413317799182.743
4 400421245081.667
5 383697391361.598
6 359506855598.974
7 361739185883.744
8 355355165420.473
9 356113182348.264
10 391888587766.148
11 386701882906.777
12 367790595410.762
13 282224096432.954
14 272416758758.057
15 269029835537.739
16 292988056650.793
17 301070147319.785
18 223069501079.725
19 219649074064.487
20 265872039446.587
21 269994948937.517
22 179306782378.55
23 185346606057.195
24 241839770957.162
25 171081251747.042
26 189117437970.704
27 206452096914.933
28 151179846259.296
29 186154060385.361
30 141646188575.231
31 163428921961.907
32 127923052874.116
33 148951061816.929
34 131780219892.036
35 131149481863.004
36 102258359880.036
37 133644924156.054
38 92820780991.5555
39 101683028906.363
40 115884762971.941
41 85560743486.4359
42 90999234122.4494
43 83739082770.4887
44 84265684954.4832
45 74711416943.8733
46 67234127242.9231
47 65744740842.0575
48 58543637252.8276
49 65229053945.0929
50 59128860940.8995
};
\addlegendentry{0.4 Harvest, wet}
\addplot [semithick, green01270]
table {
1 245101679625.722
2 244609935813.843
3 251568277301.712
4 236711728702.8
5 223265829547.107
6 233549978537.232
7 207580935337.673
8 203201825635.392
9 207240410819.949
10 208217750730.819
11 234543495588.436
12 206836687657.287
13 156772696483.478
14 153109873467.192
15 157309774823.549
16 168801550086.054
17 184342984298.707
18 151313082121.415
19 126087845155.725
20 140234893512.8
21 154894835010.391
22 119968930808.181
23 107057504126.327
24 141142518066.374
25 114319197120.938
26 107071302356.054
27 123910104320.802
28 86718030543.88
29 104508584112.777
30 88475762942.6818
31 92488427805.6131
32 90860183872.8947
33 79490357394.1856
34 82275287112.5708
35 75852234934.0887
36 68825764851.3832
37 70834964868.4534
38 51409002706.769
39 61697492215.7924
40 63213234488.6624
41 47659846584.2714
42 53687666408.3327
43 50391724681.8231
44 52323712285.6789
45 44131706042.3563
46 37387295589.5217
47 38409638783.64
48 37380758438.9806
49 38321478270.7807
50 35172174662.3122
};
\addlegendentry{0.4 Harvest, wildfire threshold = 0.3}
\addplot [semithick, goldenrod1911910]
table {
1 242275781271.206
2 235824238344.243
3 227741303786.987
4 218687640079.961
5 237773315155.843
6 221331910941.171
7 210556539833.582
8 202261039555.602
9 204017512621.444
10 216272931680.172
11 219125958519.803
12 219345377709.679
13 170124049024.071
14 152542635786.358
15 155498958316.042
16 172272488912.505
17 203840878190.252
18 149736463390.799
19 120550834505.036
20 155239771903.507
21 175259721801.824
22 111428375451.435
23 107365852803.845
24 137955375781.548
25 113152719005.056
26 98390381161.6064
27 138560524177.837
28 82853924758.4016
29 114163713586.235
30 94637729968.8647
31 78763252769.0922
32 84629523871.9252
33 74832926021.8475
34 89670302859.6702
35 74492914163.4632
36 68238361605.1225
37 75260978334.3486
38 50454101689.8433
39 65485353594.854
40 59912416406.9254
41 47892440672.0866
42 50071255126.2164
43 52983354189.9907
44 45556672863.5467
45 45221279063.2047
46 43943532672.4371
47 37067832038.0269
48 38135226617.5724
49 35290579455.2101
50 34131627098.5319
};
\addlegendentry{0.4 Harvest, wildfire threshold = 0.6}
\addplot [semithick, red]
table {
1 232929647218.246
2 256488977139.205
3 233373476883.286
4 234754692227.757
5 232468433238.284
6 226892535168.927
7 231620293299.508
8 209493683334.625
9 199346262683.888
10 211219644744.121
11 231241645647.385
12 208024818726.884
13 163456407214.283
14 160240603773.226
15 158324309797.262
16 180969279475.721
17 197232983336.269
18 131290525882.158
19 136098253049.09
20 141601975481.768
21 172980462412.861
22 117515925227.2
23 119099224203.282
24 146252278547.591
25 94134054189.8066
26 102907537369.875
27 134110330566.203
28 83575818380.0307
29 121685579989.208
30 91280223317.9831
31 90607699656.6335
32 84885115260.271
33 75226177109.717
34 78217972954.6845
35 81225209514.0605
36 61681181621.7421
37 78832287978.0501
38 53727586126.653
39 59572173257.3998
40 61620987420.7423
41 51149767714.7332
42 44114249909.242
43 54175053476.4558
44 55968136491.1311
45 48367485568.7374
46 40344027753.0842
47 41469082523.9559
48 34647205021.3687
49 34526333841.328
50 36089507999.469
};
\addlegendentry{0.4 Harvest, wildfire threshold = 0.9}
\addplot [semithick, blue]
table {
1 350432687032.333
2 350432687032.333
3 350432687032.333
4 350432687032.333
5 350432687032.333
6 350432687032.333
7 350432687032.333
8 350432687032.333
9 350432687032.333
10 350432687032.333
11 350432687032.333
12 350432687032.333
13 350432687032.333
14 350432687032.333
15 350432687032.333
16 350432687032.333
17 350432687032.333
18 350432687032.333
19 350432687032.333
20 350432687032.333
21 350432687032.333
22 350432687032.333
23 350432687032.333
24 350432687032.333
25 350432687032.333
26 350432687032.333
27 350432687032.333
28 350432687032.333
29 350432687032.333
30 350432687032.333
31 350432687032.333
32 350432687032.333
33 350432687032.333
34 350432687032.333
35 350432687032.333
36 350432687032.333
37 350432687032.333
38 350432687032.333
39 350432687032.333
40 350432687032.333
41 350432687032.333
42 350432687032.333
43 350432687032.333
44 350432687032.333
45 350432687032.333
46 350432687032.333
47 350432687032.333
48 350432687032.333
49 350432687032.333
50 350432687032.333
};
\addlegendentry{Baseline, wet}
\addplot [semithick, green01270]
table {
1 178173449755.278
2 178173449755.278
3 178173449755.278
4 178173449755.278
5 178173449755.278
6 178173449755.278
7 178173449755.278
8 178173449755.278
9 178173449755.278
10 178173449755.278
11 178173449755.278
12 178173449755.278
13 178173449755.278
14 178173449755.278
15 178173449755.278
16 178173449755.278
17 178173449755.278
18 178173449755.278
19 178173449755.278
20 178173449755.278
21 178173449755.278
22 178173449755.278
23 178173449755.278
24 178173449755.278
25 178173449755.278
26 178173449755.278
27 178173449755.278
28 178173449755.278
29 178173449755.278
30 178173449755.278
31 178173449755.278
32 178173449755.278
33 178173449755.278
34 178173449755.278
35 178173449755.278
36 178173449755.278
37 178173449755.278
38 178173449755.278
39 178173449755.278
40 178173449755.278
41 178173449755.278
42 178173449755.278
43 178173449755.278
44 178173449755.278
45 178173449755.278
46 178173449755.278
47 178173449755.278
48 178173449755.278
49 178173449755.278
50 178173449755.278
};
\addlegendentry{Baseline, wildfire threshold = 0.3}
\addplot [semithick, goldenrod1911910]
table {
1 175783312200.995
2 175783312200.995
3 175783312200.995
4 175783312200.995
5 175783312200.995
6 175783312200.995
7 175783312200.995
8 175783312200.995
9 175783312200.995
10 175783312200.995
11 175783312200.995
12 175783312200.995
13 175783312200.995
14 175783312200.995
15 175783312200.995
16 175783312200.995
17 175783312200.995
18 175783312200.995
19 175783312200.995
20 175783312200.995
21 175783312200.995
22 175783312200.995
23 175783312200.995
24 175783312200.995
25 175783312200.995
26 175783312200.995
27 175783312200.995
28 175783312200.995
29 175783312200.995
30 175783312200.995
31 175783312200.995
32 175783312200.995
33 175783312200.995
34 175783312200.995
35 175783312200.995
36 175783312200.995
37 175783312200.995
38 175783312200.995
39 175783312200.995
40 175783312200.995
41 175783312200.995
42 175783312200.995
43 175783312200.995
44 175783312200.995
45 175783312200.995
46 175783312200.995
47 175783312200.995
48 175783312200.995
49 175783312200.995
50 175783312200.995
};
\addlegendentry{Baseline, wildfire threshold = 0.6}
\addplot [semithick, red]
table {
1 190742682836.339
2 190742682836.339
3 190742682836.339
4 190742682836.339
5 190742682836.339
6 190742682836.339
7 190742682836.339
8 190742682836.339
9 190742682836.339
10 190742682836.339
11 190742682836.339
12 190742682836.339
13 190742682836.339
14 190742682836.339
15 190742682836.339
16 190742682836.339
17 190742682836.339
18 190742682836.339
19 190742682836.339
20 190742682836.339
21 190742682836.339
22 190742682836.339
23 190742682836.339
24 190742682836.339
25 190742682836.339
26 190742682836.339
27 190742682836.339
28 190742682836.339
29 190742682836.339
30 190742682836.339
31 190742682836.339
32 190742682836.339
33 190742682836.339
34 190742682836.339
35 190742682836.339
36 190742682836.339
37 190742682836.339
38 190742682836.339
39 190742682836.339
40 190742682836.339
41 190742682836.339
42 190742682836.339
43 190742682836.339
44 190742682836.339
45 190742682836.339
46 190742682836.339
47 190742682836.339
48 190742682836.339
49 190742682836.339
50 190742682836.339
};
\addlegendentry{Baseline, wildfire threshold = 0.9}
\end{axis}
\end{tikzpicture}
\end{document}