圆月山庄资源网 Design By www.vgjia.com

如下所示:

import matplotlib.pyplot as plt
import numpy as np


     
x = [11422,11360,11312,11274,11233,11196,11160,11129,11098,11038,
   10984,10944,10903,10863,10828,10789,10752,10715,10675,10639,
   10654,10619,10587,10550,10510,10466,10425,10389,10350,10311,
   10272,10237,10196,10161]
   
y = [123,120,115,110,105,100,95,90,85,80,
  75,70,65,60,55,50,45,40,35,30,
  25,20,15,10,5,0,-5,-10,-15,-20,
  -25,-30,-35,-39.6]
plt.plot(x, y, 'r-o')
# plt.plot(x, y)
plt.show()

以上这篇python绘制已知点的坐标的直线实例就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。

标签:
python,已知点,坐标,直线

圆月山庄资源网 Design By www.vgjia.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
圆月山庄资源网 Design By www.vgjia.com