一、scatter的使用

x,y是相同长度的数组。

s可以是标量,或者与x,y长度相同的数组,表明散点的大小。默认20

c,即color,是点的颜色。颜色参数如下:b-blue   c-cyan  g-greeen  k-black  m-magenta  r-red  w-white  y-yellow

marker 是散点的形状。其属性较多,. --点  o--圆圈  ,--像素  v--倒三角  *--星星

1.scatter函数用法

python模块matplotlib的使用

 python模块matplotlib的使用

python模块matplotlib的使用 

 二、quiver——画箭头、风场

该函数使用箭头来直观的显示矢量场。

matplotlib.pyplot.quiver()

相关文章:

  • 2021-12-02
  • 2022-12-23
  • 2021-04-09
  • 2021-12-01
  • 2021-11-10
  • 2021-11-17
  • 2022-01-01
  • 2021-07-17
猜你喜欢
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2023-02-21
相关资源
相似解决方案