绘图
hydroclimate
欢迎交流水文气候......
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
CARTOPY
Python空间绘图-Colorbar详解使用 Basemap 和 Cartopy 绘制子图实例matplotlib自定义colorbar-分段与线性色标Matplotlib 系列:colorbar 的设置绘图技巧 | 超详细的Colorbar定制化绘制教程地图嵌入子图Python自定义colorbar(含南海小地图)...原创 2022-04-11 17:41:11 · 1312 阅读 · 0 评论 -
包点箱型图
包点箱型图import matplotlib.pyplot as pltimport numpy as np #生成随机数据y = np.random.normal(10, 0.04, size=200)#随机生成数据的横坐标(在一定范围内)x = np.random.normal(1, 0.02, size=len(y))plt.plot(x,y,'g.',alpha=0.4)plt.boxplot(y)plt.show()# Import Datadf = p原创 2022-03-21 21:25:22 · 233 阅读 · 0 评论 -
dot_box
包点箱型图import matplotlib.pyplot as pltimport numpy as np #生成随机数据y = np.random.normal(10, 0.04, size=200)#随机生成数据的横坐标(在一定范围内)x = np.random.normal(1, 0.02, size=len(y))plt.plot(x,y,'g.',alpha=0.4)plt.boxplot(y)plt.show() # Import Datadf = pd.read_原创 2022-03-21 21:16:19 · 504 阅读 · 0 评论 -
Matplotlib-散点图dot
散点空心圆import matplotlib.pyplot as pltx = [[1, 3], [2, 5]]y = [[4, 7], [6, 3]]for i in range(len(x)): plt.plot(x[i], y[i], color='r') plt.scatter(x[i], y[i], color='b') plt.scatter(x[i], y[i], color='', marker='o', edgecolors='g', s=200) # 把 cor原创 2022-03-16 21:01:33 · 361 阅读 · 0 评论
分享