python-matplotlib-lec1

接演前文。 設置屬性的方法: 使用對象的set_*方法,單獨設置每個屬性;或使用plt.setp同時設置多個屬性 # -*- coding: utf-8 -*- import numpy as np import matplotlib.pyplot as plt # set range 0~5, step = 0.1 x = np.arange(0, 5, 0.1) # plot r
相關文章
相關標籤/搜索
本站公眾號
   歡迎關注本站公眾號,獲取更多信息