diff options
| author | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-04-17 09:28:31 -0500 |
|---|---|---|
| committer | shivesh <s.p.mandalia@qmul.ac.uk> | 2019-04-17 09:28:31 -0500 |
| commit | 8b9bed6c80bde554028c4a7c07d2078177bcffb9 (patch) | |
| tree | 05d6f9d1f4bfed8758054497dee14b0e74471f02 /plot_sens.py | |
| parent | d84021c3f136d657e708a31b816f6d6409a9c241 (diff) | |
| download | GolemFlavor-8b9bed6c80bde554028c4a7c07d2078177bcffb9.tar.gz GolemFlavor-8b9bed6c80bde554028c4a7c07d2078177bcffb9.zip | |
Wed 17 Apr 09:28:30 CDT 2019
Diffstat (limited to 'plot_sens.py')
| -rwxr-xr-x | plot_sens.py | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/plot_sens.py b/plot_sens.py index 3fb585e..42b711f 100755 --- a/plot_sens.py +++ b/plot_sens.py @@ -27,7 +27,7 @@ from utils.misc import gen_identifier, SortingHelpFormatter from utils.param import Param, ParamSet -MASK_X = (0.3, 0.8) +MASK_X = (0.3, 0.89) def process_args(args): @@ -227,13 +227,18 @@ def main(): *map(parse_enum, [args.stat_method, args.data]) ) + r'{0}'.format(prefix) + argsc = deepcopy(args) if args.plot_x: - plot_utils.plot_x( - data = data, - outfile = baseoutfile + '/hese_x', - outformat = ['png', 'pdf'], - args = args, - ) + for idim, dim in enumerate(args.dimensions): + print '|||| DIM = {0}'.format(dim) + argsc.dimension = dim + plot_utils.plot_x( + data = data[idim], + outfile = baseoutfile + '/hese_x_DIM{0}'.format(dim), + outformat = ['png', 'pdf'], + args = argsc, + normalise = True + ) if args.plot_table: plot_utils.plot_table_sens( |
