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
相關文章
相關標籤/搜索