(1)matplotlib绘制折线图
from matplotlib import pyplot as plt
import random
from matplotlib import font_manager
fig = plt.figure(figsize=(20,8),dpi=80)
x = range(11,31)
y1 = [1,0,1,4,2,4,3,2,3,4,4,5,6,5,4,3,3,1,1,1]
y2 = [0,0,1,2,2,4,7,2,3,4,4,5,0,5,4,3,3,1,1