Matplotlib的初次使用

# -*- coding: utf-8 -*- #先画一个线性图 import numpy as np import matplotlib.pyplot as plt x=[0,1] y=[0,1] plt.figure() plt.plot(x,y) plt.xlabel("time(s)") plt.ylabel("value(m)") plt.title("A simple plot
相关文章
相关标签/搜索