MCPcopy Create free account
hub / github.com/alandefreitas/matplotplusplus / prepare_world_cities

Function prepare_world_cities

source/matplot/util/world_cities.cpp:12–758  ·  view source on GitHub ↗

https://public.opendatasoft.com/explore/dataset/1000-largest-us-cities-by-population-with-geographic-coordinates/export/?sort=population

Source from the content-addressed store, hash-verified

10namespace matplot {
11 // https://public.opendatasoft.com/explore/dataset/1000-largest-us-cities-by-population-with-geographic-coordinates/export/?sort=population
12 std::tuple<std::vector<double>, std::vector<double>, std::vector<std::string>>
13 prepare_world_cities() {
14 std::vector<double> y = {
15 9.55,
16 -54.283333,
17 -49.35,
18 31.766666666666666,
19 60.116667,
20 -0.5477,
21 18.0731,
22 -9.166667,
23 27.153611,
24 34.516666666666666,
25 41.31666666666667,
26 36.75,
27 -14.266666666666667,
28 42.5,
29 -8.833333333333334,
30 18.216666666666665,
31 17.116666666666667,
32 -34.583333333333336,
33 40.166666666666664,
34 12.516666666666667,
35 -35.266666666666666,
36 48.2,
37 40.38333333333333,
38 25.083333333333332,
39 26.233333333333334,
40 23.716666666666665,
41 13.1,
42 53.9,
43 50.833333333333336,
44 17.25,
45 6.483333333333333,
46 32.28333333333333,
47 27.466666666666665,
48 -16.5,
49 43.86666666666667,
50 -24.633333333333333,
51 -15.783333333333333,
52 18.416666666666668,
53 4.883333333333333,
54 42.68333333333333,
55 12.366666666666667,
56 16.8,
57 -3.3666666666666667,
58 11.55,
59 3.8666666666666667,
60 45.416666666666664,
61 14.916666666666666,
62 19.3,
63 4.366666666666666,
64 12.1,
65 -33.45,
66 39.916666666666664,
67 -10.416666666666666,
68 -12.166666666666666,
69 4.6,

Callers 1

world_cities.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected