Initial commit: Python learning project with examples and exercises

This commit is contained in:
2025-07-20 17:08:50 +08:00
commit bc7bb56271
111 changed files with 11535 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import matplotlib.pyplot as plt
# 设置图片清晰度
plt.rcParams['figure.dpi'] = 300
# 设置中文字体
plt.rcParams['font.sans-serif'] = ['WenQuanYi Zen Hei']
# 绘制折线图
plt.plot(df['T/℃'], df['Vf/μA'], marker='o')
# 添加图标题和轴标签
plt.title('T/℃ 与 Vf/μA 的关系')
plt.xlabel('T/℃')
plt.xticks(rotation=45)
plt.ylabel('Vf/μA')
# 显示图表
plt.show()