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

Function default_map

source/matplot/util/colors.cpp:2917–2995  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2915 return result;
2916 }
2917 std::vector<std::vector<double>> default_map(size_t n) {
2918 static std::vector<std::vector<double>> map = {
2919 {0.2422, 0.1504, 0.6603},
2920 {0.25039, 0.164995, 0.707614},
2921 {0.257771, 0.181781, 0.751138},
2922 {0.264729, 0.197757, 0.795214},
2923 {0.270648, 0.214676, 0.836371},
2924 {0.275114, 0.234238, 0.870986},
2925 {0.2783, 0.255871, 0.899071},
2926 {0.280333, 0.278233, 0.9221},
2927 {0.281338, 0.300595, 0.941376},
2928 {0.281014, 0.322757, 0.957886},
2929 {0.279467, 0.344671, 0.971676},
2930 {0.275971, 0.366681, 0.982905},
2931 {0.269914, 0.3892, 0.9906},
2932 {0.260243, 0.412329, 0.995157},
2933 {0.244033, 0.435833, 0.998833},
2934 {0.220643, 0.460257, 0.997286},
2935 {0.196333, 0.484719, 0.989152},
2936 {0.183405, 0.507371, 0.979795},
2937 {0.178643, 0.528857, 0.968157},
2938 {0.176438, 0.549905, 0.952019},
2939 {0.168743, 0.570262, 0.935871},
2940 {0.154, 0.5902, 0.9218},
2941 {0.146029, 0.609119, 0.907857},
2942 {0.138024, 0.627629, 0.89729},
2943 {0.124814, 0.645929, 0.888343},
2944 {0.111252, 0.6635, 0.876314},
2945 {0.0952095, 0.679829, 0.859781},
2946 {0.0688714, 0.694771, 0.839357},
2947 {0.0296667, 0.708167, 0.816333},
2948 {0.00357143, 0.720267, 0.7917},
2949 {0.00665714, 0.731214, 0.766014},
2950 {0.0433286, 0.741095, 0.73941},
2951 {0.0963952, 0.75, 0.712038},
2952 {0.140771, 0.7584, 0.684157},
2953 {0.1717, 0.766962, 0.655443},
2954 {0.193767, 0.775767, 0.6251},
2955 {0.216086, 0.7843, 0.5923},
2956 {0.246957, 0.791795, 0.556743},
2957 {0.290614, 0.79729, 0.518829},
2958 {0.340643, 0.8008, 0.478857},
2959 {0.3909, 0.802871, 0.435448},
2960 {0.445629, 0.802419, 0.390919},
2961 {0.5044, 0.7993, 0.348},
2962 {0.561562, 0.794233, 0.304481},
2963 {0.617395, 0.787619, 0.261238},
2964 {0.671986, 0.779271, 0.2227},
2965 {0.7242, 0.769843, 0.191029},
2966 {0.773833, 0.759805, 0.16461},
2967 {0.820314, 0.749814, 0.153529},
2968 {0.863433, 0.7406, 0.159633},
2969 {0.903543, 0.733029, 0.177414},
2970 {0.939257, 0.728786, 0.209957},
2971 {0.972757, 0.729771, 0.239443},
2972 {0.995648, 0.743371, 0.237148},
2973 {0.996986, 0.765857, 0.219943},
2974 {0.995205, 0.789252, 0.202762},

Callers 3

axes_type.hFile · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

colormap_interpolationFunction · 0.85

Tested by

no test coverage detected