单项选择题
下述程序绘制一条对数函数图,其中第5行的第3个参数的作用是 ( ) import numpy as np #line 1 import matplotlib.pyplot as plt #line 2 x=np.arange(1,20,0.2) #line 3 y=np.log(x) #line 4 plt.plot(x,y,'b:',label='logarithm curve') #line 5 plt.xlabel('x') #line 6 plt.ylabel('y') #line 7 plt.legend() #line 8
A.指定图像曲线的颜色和形状B.指定图像的标签
C.指定图像的横坐标的名称
D.指定图像的纵坐标的名称
点击查看答案
