惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
S
Security @ Cisco Blogs
S
Secure Thoughts
Attack and Defense Labs
Attack and Defense Labs
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Hacker News - Newest:
Hacker News - Newest: "LLM"
Recent Commits to openclaw:main
Recent Commits to openclaw:main
H
Hacker News: Front Page
博客园 - 叶小钗
H
Heimdal Security Blog
Microsoft Security Blog
Microsoft Security Blog
Forbes - Security
Forbes - Security
AI
AI
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
T
Troy Hunt's Blog
罗磊的独立博客
Application and Cybersecurity Blog
Application and Cybersecurity Blog
爱范儿
爱范儿
GbyAI
GbyAI
The Last Watchdog
The Last Watchdog
TaoSecurity Blog
TaoSecurity Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
D
DataBreaches.Net
Recent Announcements
Recent Announcements
Schneier on Security
Schneier on Security
C
Cisco Blogs
美团技术团队
D
Docker
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
WordPress大学
WordPress大学
月光博客
月光博客
雷峰网
雷峰网
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
H
Hackread – Cybersecurity News, Data Breaches, AI and More
A
Arctic Wolf
B
Blog RSS Feed
Cisco Talos Blog
Cisco Talos Blog
C
Cybersecurity and Infrastructure Security Agency CISA
V
Vulnerabilities – Threatpost
V2EX - 技术
V2EX - 技术
Y
Y Combinator Blog
N
News and Events Feed by Topic
www.infosecurity-magazine.com
www.infosecurity-magazine.com
W
WeLiveSecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
G
GRAHAM CLULEY
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
The Hacker News
The Hacker News

HibisciDai

AVIZO自动化 | HibisciDai AVIZO曲率计算 | HibisciDai AVIZO二值化数据导出 | HibisciDai 内网穿透 | HibisciDai PyTorch-26H-7 | HibisciDai PyTorch-26H-6 | HibisciDai PyTorch-26H-5 | HibisciDai PyTorch-26H-4 | HibisciDai PyTorch-26H-3 | HibisciDai PyTorch-26H-2 | HibisciDai PyTorch-26H-1 | HibisciDai Linux登录提示语 | HibisciDai drd-Digital_Rocks_Data | HibisciDai WebDAV-使用指南 | HibisciDai Cesium-使用指南 | HibisciDai CGAN-TensorFlow | HibisciDai 小丑在殿堂 | HibisciDai PyCharm挂载Linux服务器 | HibisciDai 核磁共振测井 | HibisciDai
Python科学绘图 | HibisciDai
HibisciDai · 2025-03-06 · via HibisciDai
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84

def sandian1(file_path: str,
red_point_por: float,
red_point_K: float,
red_point_name: str,
):
df = pd.read_csv(file_path, header=None, names=['img_name', 'por', 'K'])

df['por'] = pd.to_numeric(df['por'], errors='coerce')
df['por'] = df['por'] * 100
df['K'] = pd.to_numeric(df['K'], errors='coerce')
por = df['por']
K = df['K']
por2 = red_point_por
K2 = red_point_K
name2 = red_point_name


fig, ax = plt.subplots(figsize=(3.9, 2.7), dpi=300)


plt.rcParams['font.family'] = 'serif'
plt.rcParams['font.serif'] = ['Times New Roman'] + plt.rcParams['font.serif']


ax.scatter(por, K, marker='s', color='black', facecolors='none', s=50, label=img_name)

ax.scatter(por2, K2, marker='o', color='red', s=80, label=name2)


ax.set_yscale('log')

formatter = ScalarFormatter(useOffset=False, useMathText=False)
ax.yaxis.set_major_formatter(formatter)

ax.set_xlim(10, 30)
ax.set_ylim(1, 1000)

ax.xaxis.set_major_locator(ticker.MultipleLocator(5))



ax.tick_params(axis='x', labelsize=10)
ax.tick_params(axis='y', labelsize=10)

x_labels = ax.get_xticklabels()
y_labels = ax.get_yticklabels()

for label in x_labels:
label.set_fontname('Times New Roman')
label.set_fontweight('bold')
for label in y_labels:
label.set_fontname('Times New Roman')
label.set_fontweight('bold')


ax.tick_params(axis='x', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='x', which='minor', length=3, width=1, direction='in')
ax.tick_params(axis='y', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='y', which='minor', length=3, width=1, direction='in')


ax.spines['bottom'].set_linewidth(1)
ax.spines['left'].set_linewidth(1)
ax.spines['top'].set_linewidth(1)
ax.spines['right'].set_linewidth(1)


ax.set_xlabel('POR(%)', fontsize=11, fontname='Times New Roman', fontweight='bold')
ax.set_ylabel('Permeability(mD)', fontsize=11, fontname='Times New Roman', fontweight='bold')


legend = ax.legend(fontsize=8)

legend.get_frame().set_linewidth(0.0)
legend.get_frame().set_facecolor('none')


ax.grid(True, which='both', linestyle='-', linewidth=0.5, alpha=0.5)


plt.tight_layout()

return plt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
def xiangxiantu_one_por(file_path: str,
img_name: str,
key_point_value: float
):
df = pd.read_csv(file_path, header=None, names=['img_name', 'por', 'K'])

df['por'] = pd.to_numeric(df['por'], errors='coerce')
df['por'] = df['por'] * 100
por = df['por'].dropna()


fig, ax = plt.subplots(figsize=(3, 2.7), dpi=300)


plt.rcParams['font.family'] = 'serif'
plt.rcParams['font.serif'] = ['Times New Roman'] + plt.rcParams['font.serif']


data = [por]
labels = [img_name]
boxplot = ax.boxplot(data, notch=True, patch_artist=True, tick_labels=labels)


ax.set_ylim(10, 30)


colors = ['lightgreen']
for box, color in zip(boxplot['boxes'], colors):
box.set(facecolor=color)


ax.scatter(1, key_point_value, color='red', s=50, zorder=5, marker='o')


ax.grid(True, which='both', linestyle='-', linewidth=0.5, alpha=0.5)


ax.yaxis.set_major_locator(ticker.MultipleLocator(5))



ax.tick_params(axis='x', labelsize=7)
ax.tick_params(axis='y', labelsize=8)


ax.tick_params(axis='x', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='x', which='minor', length=3, width=1, direction='in')
ax.tick_params(axis='y', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='y', which='minor', length=3, width=1, direction='in')


ax.spines['bottom'].set_linewidth(1)
ax.spines['left'].set_linewidth(1)
ax.spines['top'].set_linewidth(1)
ax.spines['right'].set_linewidth(1)


ax.set_ylabel('POR(%)', fontsize=10, fontname='Times New Roman', fontweight='bold')

plt.tight_layout()
return plt

def xiangxiantu_one_K(file_path: str,
img_name: str,
key_point_value: float
):
df = pd.read_csv(file_path, header=None, names=['img_name', 'por', 'K'])
df['K'] = pd.to_numeric(df['K'], errors='coerce')
K = df['K'].dropna()


fig, ax = plt.subplots(figsize=(3, 2.7), dpi=300)


plt.rcParams['font.family'] = 'serif'
plt.rcParams['font.serif'] = ['Times New Roman'] + plt.rcParams['font.serif']


data = [K]
labels = [img_name]
boxplot = ax.boxplot(data, notch=True, patch_artist=True, tick_labels=labels)


colors = ['lightgreen']
for box, color in zip(boxplot['boxes'], colors):
box.set(facecolor=color)


ax.scatter(1, key_point_value, color='red', s=50, zorder=5, marker='o')


ax.grid(True, which='both', linestyle='-', linewidth=0.5, alpha=0.5)


ax.set_yscale('log')

formatter = ScalarFormatter(useOffset=False, useMathText=False)
ax.yaxis.set_major_formatter(formatter)

ax.set_ylim(1, 1000)


ax.tick_params(axis='x', labelsize=7)
ax.tick_params(axis='y', labelsize=8)


ax.tick_params(axis='x', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='x', which='minor', length=3, width=1, direction='in')
ax.tick_params(axis='y', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='y', which='minor', length=3, width=1, direction='in')


ax.spines['bottom'].set_linewidth(1)
ax.spines['left'].set_linewidth(1)
ax.spines['top'].set_linewidth(1)
ax.spines['right'].set_linewidth(1)


ax.set_ylabel('Permeability(mD)', fontsize=10, fontname='Times New Roman', fontweight='bold')

plt.tight_layout()
return plt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
def xiaotiqintu_one_por(file_path: str,
img_name: str,
key_point_value: float
):
df = pd.read_csv(file_path, header=None, names=['img_name', 'por', 'K'])

df['por'] = pd.to_numeric(df['por'], errors='coerce')
df['por'] = df['por'] * 100
por = df['por'].dropna()


fig, ax = plt.subplots(figsize=(3, 2.7), dpi=300)


plt.rcParams['font.family'] = 'serif'
plt.rcParams['font.serif'] = ['Times New Roman'] + plt.rcParams['font.serif']


data = [por]
labels = [img_name]
boxplot = ax.violinplot(data, showmeans=False, showmedians=True)


for pc in boxplot['bodies']:
pc.set_facecolor('lightblue')
pc.set_edgecolor('lightblue')
pc.set_alpha(0.5)


boxplot['cmedians'].set_color('black')
boxplot['cmins'].set_color('black')
boxplot['cmaxes'].set_color('black')
boxplot['cbars'].set_color('black')


ax.set_xlim(0, 2)
ax.set_ylim(10, 30)


ax.set_xticks([1])
ax.set_xticklabels(labels)


ax.scatter(1, key_point_value, color='red', s=50, zorder=5, marker='o')


ax.grid(True, which='both', linestyle='-', linewidth=0.5, alpha=0.5)


ax.yaxis.set_major_locator(ticker.MultipleLocator(5))
ax.xaxis.set_minor_locator(ticker.MultipleLocator(1))


ax.tick_params(axis='x', labelsize=7)
ax.tick_params(axis='y', labelsize=8)


ax.tick_params(axis='x', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='x', which='minor', length=3, width=1, direction='in')
ax.tick_params(axis='y', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='y', which='minor', length=3, width=1, direction='in')


ax.spines['bottom'].set_linewidth(1)
ax.spines['left'].set_linewidth(1)
ax.spines['top'].set_linewidth(1)
ax.spines['right'].set_linewidth(1)


ax.set_ylabel('POR(%)', fontsize=10, fontname='Times New Roman', fontweight='bold')

plt.tight_layout()
return plt


def xiaotiqintu_one_K(file_path: str,
img_name: str,
key_point_value: float
):
df = pd.read_csv(file_path, header=None, names=['img_name', 'por', 'K'])
df['K'] = pd.to_numeric(df['K'], errors='coerce')
K = df['K'].dropna()


fig, ax = plt.subplots(figsize=(3, 2.7), dpi=300)


plt.rcParams['font.family'] = 'serif'
plt.rcParams['font.serif'] = ['Times New Roman'] + plt.rcParams['font.serif']


data = [K]
labels = [img_name]
boxplot = ax.violinplot(data, showmeans=False, showmedians=True)


for pc in boxplot['bodies']:
pc.set_facecolor('lightgreen')
pc.set_edgecolor('lightgreen')
pc.set_alpha(0.5)


boxplot['cmedians'].set_color('black')
boxplot['cmins'].set_color('black')
boxplot['cmaxes'].set_color('black')
boxplot['cbars'].set_color('black')


ax.set_xlim(0, 2)
ax.set_xticks([1])
ax.set_xticklabels(labels)


ax.set_yscale('log')

formatter = ScalarFormatter(useOffset=False, useMathText=False)
ax.yaxis.set_major_formatter(formatter)

ax.set_ylim(1, 1000)


ax.scatter(1, key_point_value, color='red', s=50, zorder=5, marker='o')


ax.grid(True, which='both', linestyle='-', linewidth=0.5, alpha=0.5)



ax.xaxis.set_minor_locator(ticker.MultipleLocator(1))


ax.tick_params(axis='x', labelsize=7)
ax.tick_params(axis='y', labelsize=8)


ax.tick_params(axis='x', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='x', which='minor', length=3, width=1, direction='in')
ax.tick_params(axis='y', which='major', length=4, width=1, direction='in')
ax.tick_params(axis='y', which='minor', length=3, width=1, direction='in')


ax.spines['bottom'].set_linewidth(1)
ax.spines['left'].set_linewidth(1)
ax.spines['top'].set_linewidth(1)
ax.spines['right'].set_linewidth(1)


ax.set_ylabel('Permeability(mD)', fontsize=10, fontname='Times New Roman', fontweight='bold')

plt.tight_layout()
return plt