This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Plotting Colorscale
meihuisu edited this page May 22, 2019
·
5 revisions
The colorscale(-a) option in plotting script controls how to color and style the plot generated with matplotlib. Default colormap used is basemap.cm.GMT_seis and default bound is between 0 to 5000 except for Vp where the bound is set between 0 to 8500.
-a, --scale: color scale
- s, for smooth scale
- s_r, for smooth scale with basemap.cm.GMT_seis_r
- sd, for smooth scale where bound is set with min and max of the dataset
- d, for discretized scale
- d_r, for discretized scale with basemap.cm.GMT_seis_r
- dd, for discretized scale where bound is set with min and max of the dataset
-
b, for bi-color scale (grey/red)
The threshold or gating factor (default is 2.5) is controlled by the gating option (-g)
Using gating factor of 2.5,
./plot_elevation_cross_section.py -b 35.21,-121 -u 35.21,-118 -h 1000 -v -100 -d vs -c cca -a b -s 1000 -e -4000 -g 2.5 -o cross_section_elevation_cca_b.png
Using gating factor of 3.0,
./plot_elevation_cross_section.py -b 35.21,-121 -u 35.21,-118 -h 1000 -v -100 -d vs -c cca -a b -s 1000 -e -4000 -g 3.0 -o cross_section_elevation_cca_b_2.png
This wiki is licensed by University of Southern California (USC) to the public under a Creative Commons Attribution 4.0 license.