#Jon's Matplotlib Settings # Here are some matplotlib style settings that I (JSW) find useful for publication-quality plots # First, we set the width of a figure to be exactly the width of a single column in PRL or PRD (in # inches), and set the aspect ratio to be 4:3. rc('figure', figsize=(3.375, 3.375*(.75)), titlesize=10) # This line sets the resolution (number of dots per inch) for saving figures to raster formats like # PNG. It's mainly useful to set the size of the figures displayed in the webbrowser in the Jupyter # or IPython notebook rc('savefig', dpi=180) # The default for scatter plots is to put three points in each legend entry. Usually one is # sufficient. rc('legend', scatterpoints=1, fontsize=10, frameon=False) # We would like the text to be created using TeX, so we get full support for LaTeX math syntax. rc('text', usetex=True) rc('text.latex', unicode=True) # We want all the text to be Computer Modern, and 10pt. This way, combined with the correct setting # of the size of the figure, the text in the figure will exactly match the text in the rest of the # manuscript. rc('font', size=10, family='serif', weight='normal', serif=['Computer Modern Roman']) rc('axes', labelsize=10, titlesize=10, labelweight='normal') rc('xtick', labelsize=10) rc('ytick', labelsize=10) # Jorge's Default Matplotlib Settings matplotlib.rc('figure', figsize=(6, 5*(4/6)), dpi=500) matplotlib.rc('font', size=10) matplotlib.rc('legend', scatterpoints=1) #Preferred Color Values colors=['#af1b1b','#c51e1e','#db2222',#red '#db7e22','#db7e22','#db7e22',#orange '#c5c51e','#dbdb22','#e0e036',#yellow '#72c51e','#8be036','#a5e762',#green '#1b65af','#227edb','#4c98e3']#blue subcolors= ['#e98a72','#ec9b86','#f2bcae', '#ecce86', '#efd69a','#f2deae', '#ffc293','#ffd0ac','#ffdfc6', '#91c588','#b1d5aa','#c1debb', '#6672b4','#8891c5','#aab1d5'] width=4 nn=0