Revision 7cc9e3b4b97505e5d6281650d9bebb285bb39183 authored by Zhang Yunjun on 18 July 2019, 15:42:00 UTC, committed by Zhang Yunjun on 19 July 2019, 00:26:46 UTC
+ support local GMT cpt colormaps for macOS user if GMT is installed with macports

+ add several colormaps from Scientific Color-Maps project by Fabio Crameri

+ update docs/resources/colormaps/README.md with images for easy navigation

+ move ColormapExt class from utils/plot.py to objects/colors.py
   - import objects.colors in utils/plot.py so that all previous usage won't be affected.
   - change "truncate_" prefix to "_truncate" suffix for derivative colormap for consistency
   - change "{int}" suffix to "{_int}" suffix for derivative colormap for consistency
   - modify read_cpt_file() to support cpt files from GMT
   - add check_input_colormap_name() to simplify the class workflow.
   - support combined derivative settings in get_colormap()

+ move global variable mplColors to objects/colors, and import it in utils/plot.py, so that all previous usage won't be affected.
1 parent 1495360
History
File Mode Size
compare_velocity_with_diff_tropo.sh -rwxr-xr-x 2.2 KB
load_data_aoi.sh -rwxr-xr-x 2.1 KB
plot_smallbaselineApp.sh -rwxr-xr-x 5.3 KB
post_aoi.sh -rwxr-xr-x 5.1 KB
post_process_Alos.sh -rwxr-xr-x 10.5 KB
run_multilook_geometry -rwxr-xr-x 881 bytes
run_stripmap_stack -rwxr-xr-x 696 bytes

back to top