[单选题]import matplotlib.pyplot as plt import numpy as np ypoints = np.array([3, 10]) plt.plot(ypoints) 上面plot函数没有指定x轴的值:( )
竞赛题库
|
2023-10-27 16:24:05
|
15
[单选题]import matplotlib.pyplot as plt import numpy as np ypoints = np.array([3, 10]) plt.plot(ypoints) 上面plot函数没有指定x轴的值:( )

A.plot函数如果没指定 x 的值,则 x 会根据 y 的值来设置为 0, 1, 2, 3...N-1。
B.这种情况下,x的值默认和y的值一样。
C.上面plot函数使用错误,x的值不能少。
D.plot函数如果没指定 x 的值,则 x 会根据 y 的值来设置为 1, 2, 3...N-1。
查看答案

西南科技大学

大数据分析原理与实践

您可能感兴趣的试题
TOP