Functions | |
| def | plot (theta, one_data, ax) |
Variables | |
| action | |
| args = parser.parse_args() | |
| axes | |
| cb = fig.colorbar(im, cax=cbar_ax) | |
| cbar_ax = fig.add_axes([0.85, 0.15, 0.05, 0.7]) | |
| int | counter = 0 |
| csv_file = args.csv_file | |
| dictionary | data = {} |
| default | |
| int | dx = 3 |
| int | dy = 3 |
| string | eps_file = os.path.basename(csv_file) + "." + args.image_suffix |
| fields = reader.next() | |
| fig | |
| figure_num = int(row[fields.index("n_theta")]) | |
| float | |
| help | |
| bool | initialized = False |
| list | methods = ['none'] |
| dictionary | one_data = data[theta] |
| parser = argparse.ArgumentParser(description="Plot benchmark result csv") | |
| reader = csv.reader(open(csv_file)) | |
| right | |
| theta = float(theta_str) | |
| theta_str = row[fields.index("theta")] | |
| type | |
| int | xnum = figure_num / 3 |
| def plot_bench.plot | ( | theta, | |
| one_data, | |||
| ax | |||
| ) |
Definition at line 25 of file plot_bench.py.
| plot_bench.action |
Definition at line 16 of file plot_bench.py.
| plot_bench.args = parser.parse_args() |
Definition at line 19 of file plot_bench.py.
| plot_bench.axes |
Definition at line 71 of file plot_bench.py.
| plot_bench.cb = fig.colorbar(im, cax=cbar_ax) |
Definition at line 92 of file plot_bench.py.
| plot_bench.cbar_ax = fig.add_axes([0.85, 0.15, 0.05, 0.7]) |
Definition at line 91 of file plot_bench.py.
| int plot_bench.counter = 0 |
Definition at line 79 of file plot_bench.py.
| plot_bench.csv_file = args.csv_file |
Definition at line 20 of file plot_bench.py.
| dictionary plot_bench.data = {} |
Definition at line 60 of file plot_bench.py.
| plot_bench.default |
Definition at line 15 of file plot_bench.py.
| int plot_bench.dx = 3 |
Definition at line 22 of file plot_bench.py.
| int plot_bench.dy = 3 |
Definition at line 23 of file plot_bench.py.
Definition at line 97 of file plot_bench.py.
| plot_bench.fields = reader.next() |
Definition at line 56 of file plot_bench.py.
| plot_bench.fig |
Definition at line 71 of file plot_bench.py.
| plot_bench.figure_num = int(row[fields.index("n_theta")]) |
Definition at line 66 of file plot_bench.py.
| plot_bench.float |
Definition at line 17 of file plot_bench.py.
| plot_bench.help |
Definition at line 14 of file plot_bench.py.
| bool plot_bench.initialized = False |
Definition at line 58 of file plot_bench.py.
Definition at line 21 of file plot_bench.py.
Definition at line 82 of file plot_bench.py.
| plot_bench.parser = argparse.ArgumentParser(description="Plot benchmark result csv") |
Definition at line 13 of file plot_bench.py.
| plot_bench.reader = csv.reader(open(csv_file)) |
Definition at line 55 of file plot_bench.py.
| plot_bench.right |
Definition at line 90 of file plot_bench.py.
Definition at line 74 of file plot_bench.py.
| plot_bench.theta_str = row[fields.index("theta")] |
Definition at line 73 of file plot_bench.py.
| plot_bench.type |
Definition at line 17 of file plot_bench.py.
| int plot_bench.xnum = figure_num / 3 |
Definition at line 68 of file plot_bench.py.