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

Function bone

source/matplot/util/colors.cpp:2467–2545  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2465 return result;
2466 }
2467 std::vector<std::vector<double>> bone(size_t n) {
2468 static std::vector<std::vector<double>> map = {
2469 {0, 0, 0.00520833},
2470 {0.0138889, 0.0138889, 0.0243056},
2471 {0.0277778, 0.0277778, 0.0434028},
2472 {0.0416667, 0.0416667, 0.0625},
2473 {0.0555556, 0.0555556, 0.0815972},
2474 {0.0694444, 0.0694444, 0.100694},
2475 {0.0833333, 0.0833333, 0.119792},
2476 {0.0972222, 0.0972222, 0.138889},
2477 {0.111111, 0.111111, 0.157986},
2478 {0.125, 0.125, 0.177083},
2479 {0.138889, 0.138889, 0.196181},
2480 {0.152778, 0.152778, 0.215278},
2481 {0.166667, 0.166667, 0.234375},
2482 {0.180556, 0.180556, 0.253472},
2483 {0.194444, 0.194444, 0.272569},
2484 {0.208333, 0.208333, 0.291667},
2485 {0.222222, 0.222222, 0.310764},
2486 {0.236111, 0.236111, 0.329861},
2487 {0.25, 0.25, 0.348958},
2488 {0.263889, 0.263889, 0.368056},
2489 {0.277778, 0.277778, 0.387153},
2490 {0.291667, 0.291667, 0.40625},
2491 {0.305556, 0.305556, 0.425347},
2492 {0.319444, 0.319444, 0.444444},
2493 {0.333333, 0.338542, 0.458333},
2494 {0.347222, 0.357639, 0.472222},
2495 {0.361111, 0.376736, 0.486111},
2496 {0.375, 0.395833, 0.5},
2497 {0.388889, 0.414931, 0.513889},
2498 {0.402778, 0.434028, 0.527778},
2499 {0.416667, 0.453125, 0.541667},
2500 {0.430556, 0.472222, 0.555556},
2501 {0.444444, 0.491319, 0.569444},
2502 {0.458333, 0.510417, 0.583333},
2503 {0.472222, 0.529514, 0.597222},
2504 {0.486111, 0.548611, 0.611111},
2505 {0.5, 0.567708, 0.625},
2506 {0.513889, 0.586806, 0.638889},
2507 {0.527778, 0.605903, 0.652778},
2508 {0.541667, 0.625, 0.666667},
2509 {0.555556, 0.644097, 0.680556},
2510 {0.569444, 0.663194, 0.694444},
2511 {0.583333, 0.682292, 0.708333},
2512 {0.597222, 0.701389, 0.722222},
2513 {0.611111, 0.720486, 0.736111},
2514 {0.625, 0.739583, 0.75},
2515 {0.638889, 0.758681, 0.763889},
2516 {0.652778, 0.777778, 0.777778},
2517 {0.674479, 0.791667, 0.791667},
2518 {0.696181, 0.805556, 0.805556},
2519 {0.717882, 0.819444, 0.819444},
2520 {0.739583, 0.833333, 0.833333},
2521 {0.761285, 0.847222, 0.847222},
2522 {0.782986, 0.861111, 0.861111},
2523 {0.804688, 0.875, 0.875},
2524 {0.826389, 0.888889, 0.888889},

Callers

nothing calls this directly

Calls 1

colormap_interpolationFunction · 0.85

Tested by

no test coverage detected