23 lines
560 B
Python
23 lines
560 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.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.get_figure().savefig('./historical_srr_plot') |