interpolation - Plotting a 4-D interpolated function in matplotlib -
i'm new python , matplotlib, , have rather difficult plotting problem need solve. have set of data points 4 dimensional function need represent visually. data comes pairs (x, f), x point in 4 dimensional space (three spatial dimensions , 1 of time) , f value of function @ point.
the problem boils down 3 steps:
interpolating data across entire 4-d region of interest. think have idea how generate using
scipy'sgriddatafunction, i'm not sure.evaluate
f=0surface of interpolated plot along slices of constant time (so,t=-1,t=-0.5,t=0, etc.). part has me stumped; don't understand meaning of interpolated data object, i'm not sure how generate constant time slices nor how findf=0surface of interpolated data.animate show evolution of surface. haven't attempted this. i've seen couple of tutorials on how build animated plot, i'll satisfied if can figure out how plot 1 time slice.
any in regard appreciated.
edit:
i've got interpolation working, , i've figured out how plot 2-d slices of function, tasks remaining figuring out how generate f=0 surface , learning animate time evolution.
Comments
Post a Comment