-
Notifications
You must be signed in to change notification settings - Fork 0
/
my_plot_styles.py
26 lines (23 loc) · 1.11 KB
/
my_plot_styles.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
'''
file containing the plotting information for matplotlib functions.
Includes line styles, colours etc for each of the sketching methods.
'''
from experiment_parameter_grid import param_grid
plotting_params = {"CountSketch" : {"colour" : "b",
"line_style" : '-',
"marker" : "o" },
"SRHT" : {"colour" : "k",
"marker" : "s",
"line_style" : ':'},
"Gaussian" : {"colour" : "r",
"marker" : "v",
"line_style" : "-."},
"Classical" : {"colour" : "m",
"marker" : "*"},
"Exact" : {"colour" : "teal",
"marker" : "^"}
}
# nb. the marker styles are for the plots with multiple sketch settings.
my_markers = ['.', 's', '^', 'D', 'x', '+', 'V', 'o', '*', 'H']
col_markers = {param_grid['columns'][i]: my_markers[i] for i in range(len(param_grid['columns']))}
#print(col_markers)