摘要:
import matplotlib.pyplot as plt #plot提供值为y轴的值,x轴默认0-7 plt.plot([1,2,3,2,3,2,2,1]) #添加x轴的值 plt.plot([4,3,2,1],[1,2,3,4]) #simple data x = [1,2,3,4] y = [5,4,3,2] plt.figure() #divide subplots into 2... 阅读全文
摘要:
2018-03-16 3.1 使用恰当的using声明重做1.4.1节和2.6.2节的练习; using namespace std; 或者: using std::cin; using std::cout; using std::endl; 命名空间的using使用 读取未知数量的string对象 阅读全文