import numpy as np
import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties
import os
font = FontProperties(fname=os.environ['WINDIR'] + '\\Fonts\\kaiu.ttc', size=16
    )
data2 = np.array([['高', '低', '中', '低', '中'], ['低', '中', '高', '高', '中'], [
    '高', '中', '中', '低', '中']])
label = ['甲公司', '乙公司', '丙公司']
plt.figure(figsize=(10, 5))
for i in range(3):
    plt.plot(np.arange(data2.shape[1]), data2[i, :], label=label[i])
plt.xticks(np.arange(data2.shape[1]), ['103', '104', '105', '106', '107'],
    fontproperties=font)
plt.legend(loc='lower right', prop=font)
plt.title('業績分析', fontproperties=font)
plt.xlabel('年', fontproperties=font)
plt.ylabel('業績', fontproperties=font)
plt.show()

e0eb3aa6a213bfef857a134921b0f7b890303f94
<mask token>

<mask token>
plt.figure(figsize=(10, 5))
for i in range(3):
    plt.plot(np.arange(data2.shape[1]), data2[i, :], label=label[i])
plt.xticks(np.arange(data2.shape[1]), ['103', '104', '105', '106', '107'],
    fontproperties=font)
plt.legend(loc='lower right', prop=font)
plt.title('業績分析', fontproperties=font)
plt.xlabel('年', fontproperties=font)
plt.ylabel('業績', fontproperties=font)
plt.show()

<mask token>
font = FontProperties(fname=os.environ['WINDIR'] + '\\Fonts\\kaiu.ttc', size=16
    )
data2 = np.array([['高', '低', '中', '低', '中'], ['低', '中', '高', '高', '中'], [
    '高', '中', '中', '低', '中']])
label = ['甲公司', '乙公司', '丙公司']
plt.figure(figsize=(10, 5))
for i in range(3):
    plt.plot(np.arange(data2.shape[1]), data2[i, :], label=label[i])
plt.xticks(np.arange(data2.shape[1]), ['103', '104', '105', '106', '107'],
    fontproperties=font)
plt.legend(loc='lower right', prop=font)
plt.title('業績分析', fontproperties=font)
plt.xlabel('年', fontproperties=font)
plt.ylabel('業績', fontproperties=font)
plt.show()

import numpy as np
import matplotlib.pyplot as plt
from matplotlib.font_manager import FontProperties
import os
font = FontProperties(fname=os.environ['WINDIR'] + '\\Fonts\\kaiu.ttc', size=16
    )
data2 = np.array([['高', '低', '中', '低', '中'], ['低', '中', '高', '高', '中'], [
    '高', '中', '中', '低', '中']])
label = ['甲公司', '乙公司', '丙公司']
plt.figure(figsize=(10, 5))
for i in range(3):
    plt.plot(np.arange(data2.shape[1]), data2[i, :], label=label[i])
plt.xticks(np.arange(data2.shape[1]), ['103', '104', '105', '106', '107'],
    fontproperties=font)
plt.legend(loc='lower right', prop=font)
plt.title('業績分析', fontproperties=font)
plt.xlabel('年', fontproperties=font)
plt.ylabel('業績', fontproperties=font)
plt.show()
