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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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)
Note: See TracChangeset for help on using the changeset viewer.