Last active
August 24, 2018 18:11
-
-
Save astro313/2f7554e92884e138dcb0daba5c1241a8 to your computer and use it in GitHub Desktop.
list of colors and symbols for MPL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.cm as cm | |
max_color = 15.0 #Set maximum color index | |
color_gradient = cm.jet(arange(max_color)/max_color) #Set up color list from a canned color bar found in python | |
color_list = ['black','gray','darkorange','blue','red','green','orange','magenta','darkgoldenrod','purple','deeppink','darkolivegreen', 'cyan','yellow','beige'] | |
symbol_list = ['o','v','8','x','s','*','h','D','^','8','1','o','o','o','o','o','o','o'] #Symbol list for rotation ladders on black and white Boltzmann plot | |
#for c in matplotlib.colors.cnames: | |
#color_list.append(c) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment