我用python画图pycharm总是右边弹窗,看起来很别扭,想让它正中央显示,并且有保存按钮 修改流程(借鉴yuanyuan_zyy的方法): 结果: Read More
posted @ 2024-06-24 10:35 秋刀鱼CCC Views(81) Comments(0) Diggs(0) Edit
数据: 目标做雨滴谱gamma分布,作业中、作业后1h、作业后2h 代码如下: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: raincontent.py @time: 2024/05/23 @desc: Read More
posted @ 2024-06-11 16:55 秋刀鱼CCC Views(54) Comments(0) Diggs(0) Edit
数据: 目标主要是用求出N0、μ、Dm 把之前那个雨水含量的代码改一改 #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: raincontent.py @time: 2024/05/23 @desc: """ Read More
posted @ 2024-05-29 11:07 秋刀鱼CCC Views(89) Comments(0) Diggs(0) Edit
数据: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: raincontent.py @time: 2024/05/23 @desc: """ import numpy as np import pandas Read More
posted @ 2024-05-23 17:23 秋刀鱼CCC Views(35) Comments(0) Diggs(0) Edit
前面已经计算出了数浓度,下面我们来计算降水强度 降水强度公式如下: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: rainintensity.py @time: 2024/05/20 @desc: """ Read More
posted @ 2024-05-20 15:16 秋刀鱼CCC Views(82) Comments(0) Diggs(0) Edit
直接上代码: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: dryzhexian.py @time: 2024/05/16 @desc: """ import pandas as pd import mat Read More
posted @ 2024-05-17 09:39 秋刀鱼CCC Views(389) Comments(0) Diggs(0) Edit
直接上代码 #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: zhexiantu.py @time: 2024/05/10 @desc: """ import pandas as pd import matpl Read More
posted @ 2024-05-10 19:44 秋刀鱼CCC Views(62) Comments(0) Diggs(0) Edit
前面已经将32×32的数据删除了不需要的列,数据变成了32×21的数据 excel的变化直径(也就是当前直径—前一个直径)为了匹配txt的32行数据,我进行了重复复制,将excel变成下图: 那么采用数浓度公式: 公式理解: 代码: #!usr/bin/env python # -*- coding Read More
posted @ 2024-05-06 09:35 秋刀鱼CCC Views(80) Comments(0) Diggs(0) Edit
粒径的取值范围为:0.31~8mm,标记红色的都需要删除,变化直径:当前直径 — 前一个直径 txt文件为(红框为留下来的数据),一共五组数,也就是五个时间的数: 那么我只留下我需要的d列数据,删除不需要的列: # -*- coding:utf-8 -*- """ @author: suyue @f Read More
posted @ 2024-05-01 17:28 秋刀鱼CCC Views(79) Comments(0) Diggs(0) Edit
txt数据是这样: 内容: #!usr/bin/env python # -*- coding:utf-8 -*- """ @author: Suyue @file: lianxi.py @time: 2024/04/28 @desc: """ # -*- coding:utf-8 -*- # os Read More
posted @ 2024-04-28 17:11 秋刀鱼CCC Views(41) Comments(0) Diggs(0) Edit