31 lines
662 B
Python
31 lines
662 B
Python
import pandas as pd
|
|
from matplotlib.ticker import MaxNLocator
|
|
|
|
data = pd.read_csv('./s407259-matrics-data/historical_wer_mean.txt', header=None)
|
|
|
|
plot = data.tail(50).plot()
|
|
|
|
plot.xaxis.set_major_locator(MaxNLocator(integer=True))
|
|
|
|
plot.get_legend().remove()
|
|
|
|
plot.set_xlabel('sample')
|
|
|
|
plot.set_ylabel('wer')
|
|
|
|
plot.get_figure().savefig('./historical_wer_mean_plot')
|
|
|
|
|
|
data = pd.read_csv('./s407259-matrics-data/historical_srr.txt', header=None)
|
|
|
|
plot = data.tail(50).plot()
|
|
|
|
plot.xaxis.set_major_locator(MaxNLocator(integer=True))
|
|
|
|
plot.get_legend().remove()
|
|
|
|
plot.set_xlabel('sample')
|
|
|
|
plot.set_ylabel('srr')
|
|
|
|
plot.get_figure().savefig('./historical_srr_plot') |