Lines Matching refs:plt
345 import matplotlib.pyplot as plt namespace
354 SizeError = plt.loglog(*data)
355 plt.title(library+' ex'+str(num)+' Mesh Convergence')
356 plt.xlabel('Size')
357 plt.ylabel(r'Error $\|x - x^*\|_2$')
358 plt.legend(legends)
359 plt.show()
364 import matplotlib.pyplot as plt namespace
371 TimeError = plt.loglog(*data)
372 plt.title(library+' ex'+str(num)+' Work Precision')
373 plt.xlabel('Time (s)')
374 plt.ylabel(r'Error $\|x - x^*\|_2$')
375 plt.legend(legends)
376 plt.show()
381 import matplotlib.pyplot as plt namespace
388 TimeErrorPareto = plt.semilogy(*data)
389 plt.title(library+' ex'+str(num)+' Work Precision: Pareto Front')
390 plt.xlabel('Time (s)')
391 plt.ylabel(r'Error $\|x - x^*\|_2$')
392 plt.legend(legends)
393 plt.show()
398 import matplotlib.pyplot as plt namespace
413 bars[arch].append(plt.bar(ind, times, width, color=color, bottom=bottom))
417 plt.xlabel('Number of Dof')
418 plt.ylabel('Time (s)')
419 plt.title('GPU vs. CPU Performance on '+library+' Example '+str(num))
420 plt.xticks(np.arange(N), map(str, sizes[arches[0]]))
423 plt.legend([bar[0] for bar in bars[arches[0]]], eventNames, 'upper right', shadow = True)
425 plt.show()