会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
mghhz816
python是核心,其他是周边
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
matplotlib
python matplotlib同时画多个图
摘要:一.多个图不在一个板里画 from matplotlib import pyplot as pltx1=['1','2','3']y1=[4,5,6]x2=[4,5,7]y2=[7,8,9]x3=[12,15,17]y3=[70,80,90]fig1=plt.figure()fig2=plt.fig
阅读全文
posted @
2022-10-17 15:50
金一九
阅读(1029)
评论(0)
推荐(0)
pyhton matplotlib横坐标自适应
摘要:问题:横坐标变量名称太长,如果横向平铺,名称重叠 解决: 横坐标自适应,名称斜着写 import matplotlib.pyplot as plt fig=plt.figure() fig.autofmt_xdata() 其他语句正常写,x轴坐标就可以自适应了
阅读全文
posted @
2022-10-17 15:25
金一九
阅读(247)
评论(0)
推荐(0)
公告