3.1 颜色、线型与标记import matplotlib.pyplot as plt# 绘制带有颜色、线型和标记的折线图x = [1, 2, 3, 4, 5]y = [2, 4, 6, 8, 10]plt.plot...fig, axes = plt.subplots(nrows=2, ncols=2)# 在第一个子图中绘制折线图x1 = [1, 2, 3, 4, 5]y1 = [2, 4, 6, 8, 10]axes...[0, 0].plot(x1, y1)axes[0, 0].set_title("Line Chart 1")# 在第二个子图中绘制散点图x2 = [1, 2, 3, 4, 5]y2 = [1, 3,...5, 7, 9]axes[0, 1].scatter(x2, y2)axes[0, 1].set_title("Scatter Plot 1")# 在第三个子图中绘制柱状图x3 = ["A", "B",..."C", "D", "E"]y3 = [10, 20, 30, 40, 50]axes[1, 0].bar(x3, y3)axes[1, 0].set_title("Bar Chart 1")# 在第四个子图中绘制饼图