34 lines
808 B
Python
34 lines
808 B
Python
|
|
import plottools.colors as ptc
|
|
from plottools.axes import labelaxes_params
|
|
SAVE_FOLDER = "./thesis/figures/"
|
|
|
|
FIG_SIZE_SMALL = (4, 4)
|
|
FIG_SIZE_MEDIUM = (6, 6)
|
|
FIG_SIZE_LARGE = (8, 8)
|
|
FIG_SIZE_SMALL_WIDE = (6, 4)
|
|
FIG_SIZE_MEDIUM_WIDE = (8, 6)
|
|
|
|
|
|
|
|
""" Muted colors. """
|
|
# from git bendalab/plottools
|
|
colors_muted = ptc.colors_muted
|
|
|
|
|
|
COLOR_DATA = ptc.colors_vivid["blue"]
|
|
COLOR_DATA_f0 = ptc.colors_vivid["red"]
|
|
COLOR_DATA_finf = ptc.colors_vivid["green"]
|
|
|
|
COLOR_MODEL = colors_muted["orange"]
|
|
COLOR_MODEL_f0 = colors_muted["red"]
|
|
COLOR_MODEL_finf = colors_muted["green"]
|
|
|
|
f0_marker = (3, 0, 0) # "^"
|
|
finf_marker = (4, 0, 0) # "s"
|
|
|
|
|
|
def set_figure_labels(xoffset="auto", yoffset='auto'):
|
|
labelaxes_params(xoffs=xoffset, yoffs=yoffset, labels='A',
|
|
font=dict(size=16, family='serif'))
|