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:

  1. interpolating data across entire 4-d region of interest. think have idea how generate using scipy's griddata function, i'm not sure.

  2. evaluate f=0 surface 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 find f=0 surface of interpolated data.

  3. 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

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -