【数据可视化应用】绘制风玫瑰图(附Python代码)

阅读 100

2022-02-17

​​​​​​

https://github.com/python-windrose/windrosepip install windrosepip install git+https://github.com/python-windrose/windrosegit clone https://github.com/python-windrose/windrosepython setup.py installfrom windrose import WindroseAxesfrom matplotlib import pyplot as pltimport matplotlib.cm as cmimport numpy as np# Create wind speed and direction variablesws = np.random.random(500) * 6wd = np.random.random(500) * 360

图片

图片

# 導入包import numpy as npimport pandas as pdimport 

精彩评论(0)

0 0 举报