From 8b9bed6c80bde554028c4a7c07d2078177bcffb9 Mon Sep 17 00:00:00 2001 From: shivesh Date: Wed, 17 Apr 2019 09:28:31 -0500 Subject: Wed 17 Apr 09:28:30 CDT 2019 --- plot_sens.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'plot_sens.py') 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( -- cgit v1.2.3