Ignore:
Timestamp:
May 8, 2023, 4:51:41 PM (13 months ago)
Author:
caparsons <caparson@…>
Branches:
ADT, ast-experimental, master
Children:
c0527f8
Parents:
ab2b352
Message:

updated plotting scripts with new plot style

Location:
doc/theses/colby_parsons_MMAth/benchmarks
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/colby_parsons_MMAth/benchmarks/actors/plotData.py

    rab2b352 r4912520  
    22import sys
    33import time
     4import itertools
    45import matplotlib.pyplot as plt
    56import matplotlib.ticker as ticks
     
    1718    'text.usetex': True,
    1819    'pgf.rcfonts': False,
     20    'font.size': 16
    1921})
     22marker = itertools.cycle(('o', 's', 'D', 'x', 'p', '^', 'h', '*', 'v' ))
    2023
    2124readfile = open(sys.argv[1], "r")
     
    162165                    plt.xlabel("Cores")
    163166                    for idx, arr in enumerate(data):
    164                         plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker='o' )
     167                        plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker=next(marker) )
    165168                    if currBench == Bench.Executor or currBench == Bench.Matrix or currBench == Bench.Balance_One or currBench == Bench.Repeat:
    166169                        plt.yscale("log")
  • doc/theses/colby_parsons_MMAth/benchmarks/channels/plotData.py

    rab2b352 r4912520  
    22import sys
    33import time
     4import itertools
    45import matplotlib.pyplot as plt
    56import matplotlib.ticker as ticks
     
    1718    'text.usetex': True,
    1819    'pgf.rcfonts': False,
     20    'font.size': 16
    1921})
     22marker = itertools.cycle(('o', 's', 'D', 'x', 'p', '^', 'h', '*', 'v' ))
    2023
    2124readfile = open(sys.argv[1], "r")
     
    126129                plt.xlabel("Cores")
    127130                for idx, arr in enumerate(data):
    128                     plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker='o' )
     131                    plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker=next(marker) )
    129132               
    130133                plt.yscale("log")
  • doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/plotData.py

    rab2b352 r4912520  
    22import sys
    33import time
     4import itertools
    45import matplotlib.pyplot as plt
    56import matplotlib.ticker as ticks
     
    1718    'text.usetex': True,
    1819    'pgf.rcfonts': False,
     20    'font.size': 16
    1921})
     22marker = itertools.cycle(('o', 's', 'D', 'x', 'p', '^', 'h', '*', 'v' ))
    2023
    2124readfile = open(sys.argv[1], "r")
     
    99102                plt.xlabel("Cores")
    100103                for idx, arr in enumerate(data):
    101                     plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker='o' )
     104                    plt.errorbar( procs, arr, [bars[idx][0], bars[idx][1]], capsize=2, marker=next(marker) )
    102105                plt.yscale("log")
    103106                plt.xticks(procs)
  • doc/theses/colby_parsons_MMAth/benchmarks/mutex_stmt/run

    rab2b352 r4912520  
    9696
    9797# toggle benchmarks
    98 order=${true}
     98order=${false}
    9999rand=${true}
    100100baseline=${true}
Note: See TracChangeset for help on using the changeset viewer.