├── LICENSE ├── README.md ├── adding_to_arcmap ├── step1.png ├── step2.png └── step3.png ├── matplotlib.style └── ramp_previews ├── inferno.png ├── magma.png ├── plasma.png └── viridis.png /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2023 Fred Lott 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # matplotlib-arcgis 2 | Matplotlib's new default colormaps as a style file for ArcMap/ArcGIS. 3 | 4 | For more background and an informational talk, see [this page.](https://bids.github.io/colormap/) 5 | 6 | This style file uses the values in https://github.com/BIDS/colormap/blob/master/colormaps.py to build color ramps for ArcGIS. 7 | 8 | I used 15 evenly-spaced points along the 256-value colormaps, and assembled them as multi-part algorithmic color ramps using the CIE Lab algorithm. Here's how they turned out: 9 | 10 | **Magma:** 11 | 12 | ![magma](ramp_previews/magma.png) 13 | 14 | **Inferno:** 15 | 16 | ![inferno](ramp_previews/inferno.png) 17 | 18 | **Plasma:** 19 | 20 | ![plasma](ramp_previews/plasma.png) 21 | 22 | **Viridis:** 23 | 24 | ![viridis](ramp_previews/viridis.png) 25 | 26 | ## Adding the styles to ArcMap 10.x 27 | Step 1. Go to Customize -> Style Manager... 28 | 29 | ![](adding_to_arcmap/step1.png) 30 | 31 | Step 2. Then "Styles..." 32 | 33 | ![](adding_to_arcmap/step2.png) 34 | 35 | Step 3. Then "Add Style to List..." 36 | 37 | ![](adding_to_arcmap/step3.png) 38 | 39 | Step 4. Select the matplotlib.style file and add it. 40 | -------------------------------------------------------------------------------- /adding_to_arcmap/step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/adding_to_arcmap/step1.png -------------------------------------------------------------------------------- /adding_to_arcmap/step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/adding_to_arcmap/step2.png -------------------------------------------------------------------------------- /adding_to_arcmap/step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/adding_to_arcmap/step3.png -------------------------------------------------------------------------------- /matplotlib.style: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/matplotlib.style -------------------------------------------------------------------------------- /ramp_previews/inferno.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/ramp_previews/inferno.png -------------------------------------------------------------------------------- /ramp_previews/magma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/ramp_previews/magma.png -------------------------------------------------------------------------------- /ramp_previews/plasma.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/ramp_previews/plasma.png -------------------------------------------------------------------------------- /ramp_previews/viridis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flott/matplotlib-arcgis/2b0fd6c58be34788bd8a123886cf83c2f4841519/ramp_previews/viridis.png --------------------------------------------------------------------------------