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
相关文章
相关标签/搜索
本站公众号
   欢迎关注本站公众号,获取更多信息