![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
基础
嗨,早啊!
这个作者很懒,什么都没留下…
展开
-
python当中的matplotlib 样式的设计
设置坐标轴的线框import matplotlib.pyplot as plt###设置坐标轴的粗细ax=plt.gca();#获得坐标轴的句柄ax.spines['bottom'].set_linewidth(2);###设置底部坐标轴的粗细ax.spines['left'].set_linewidth(2);####设置左边坐标轴的粗细ax.spines['right'].set_linewidth(2);###设置右边坐标轴的粗细ax.spines['top'].set_linew原创 2022-04-21 09:58:42 · 2252 阅读 · 0 评论 -
离散数据求导
一、先导入函数库import numpy as npimport matplotlib.pyplot as pltfrom scipy import interpolate as inter二、调用inter.splrep()自动求解函数关系,k为函数的最高次幂xx = inter.splrep(T, Y, s=0, k=5) 二、xx为求解的函数关系,xxx为新的因变量取值集合,直接调用inter.splev求解,der为导数参数,默认为0即求原函数,为1即求一阶原创 2022-04-08 09:28:48 · 2505 阅读 · 1 评论 -
画图显示汉字
plt.rcParams['font.sans-serif'] = ['SimHei']plt.rcParams['axes.unicode_minus'] = False原创 2022-04-08 09:05:59 · 97 阅读 · 0 评论 -
excel
读取excel表格写入excel表格原创 2022-03-17 10:38:46 · 295 阅读 · 0 评论