首页
技术博客
登录
6mi
u
盘
搜
搜 索
技术博客
python matplotlib 等值线插值(简单实用)
python matplotlib 等值线插值(简单实用)
tech
2025-08-12
13
import
scipy
.
ndimage
import
numpy
as
np x
,
y
=
np
.
meshgrid
(
X
,
Y
)
# XY为一维数据,data为格点数据
multiple
=
10
# multiple:插值倍数,x、y、data同时插值
data
,
xs
,
ys
=
scipy
.
ndimage
.
zoom
(
data
转载请注明原文地址:https://tech.qufami.com/read-23600.html
最新回复
(
0
)