<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Cambria, serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Καλησπερα,</p>
<p><br>
</p>
<p>Τρεχω το plot_ipc.py πανω στα benchmarks, ομως βγαζει προβλημα στις διαστασεις ενος πινακα (γραμμη 76).Η εντολη που δινω ειναι:<br>
<br>
./plot_ipc.py ./path_to_outputs/<benchmark>/* , όπου benchmark ο φακελος που περιεχει ολους τους υποφακελους για τις περιπτωσεις WS και DW. Το error που παιρνω:</p>
<p></p>
<p><br>
</p>
<p></p>
<div>
<pre id="code" class="brush: text; plain-text" style="margin-top: 0px; margin-bottom: 0px; padding: 10px; white-space: pre-wrap; word-wrap: break-word; font-size: 12px;">fivosts@ubuntu:~/Desktop/advcomp/advcomparch-2016-17-ex3-helpcode$ ./plot_ipc.py ./outputs/astar/*
Traceback (most recent call last):
File "./plot_ipc.py", line 76, in <module>
ax.plot(x_ticks, ipc_axis, label="DW_"+str(dw), marker=markers[i%len(markers)])
File "/usr/lib/python2.7/dist-packages/matplotlib/__init__.py", line 1814, in inner
return func(ax, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/matplotlib/axes/_axes.py", line 1424, in plot
for line in self._get_lines(*args, **kwargs):
File "/usr/lib/python2.7/dist-packages/matplotlib/axes/_base.py", line 386, in _grab_next_args
for seg in self._plot_args(remaining, kwargs):
File "/usr/lib/python2.7/dist-packages/matplotlib/axes/_base.py", line 364, in _plot_args
x, y = self._xy_from_xy(x, y)
File "/usr/lib/python2.7/dist-packages/matplotlib/axes/_base.py", line 223, in _xy_from_xy
raise ValueError("x and y must have same first dimension")
ValueError: x and y must have same first dimension</pre>
<pre id="code" class="brush: text; plain-text" style="margin-top: 0px; margin-bottom: 0px; padding: 10px; white-space: pre-wrap; word-wrap: break-word; font-size: 12px;"><p style="font-family: Cambria, serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Υπάρχει λαθος στο script ή το χρησιμοποιω λαθος?</p><p style="font-family: Cambria, serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;"><br></p><p style="font-family: Cambria, serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">Ευχαριστω πολυ</p><br></pre>
<br>
</div>
<p></p>
</div>
</body>
</html>