Ignore:
Timestamp:
May 17, 2023, 1:35:09 AM (3 years ago)
Author:
JiadaL <j82liang@…>
Branches:
ADT, master
Children:
f11010e
Parents:
6e4c44d (diff), 8db4708 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

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

    r6e4c44d r3982384  
    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")
     
    7073    if currBench == Bench.Unset:
    7174        if line == "contend:":
    72             name = "Contend"
     75            name = "Channel Contention"
    7376            currBench = Bench.Contend
    7477        elif line == "zero:":
     
    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")
Note: See TracChangeset for help on using the changeset viewer.