From: Lorenzo Isella <lorenzo.isella@gm...>  20070726 23:24:21

Dear All, I would like to try out matplotlib for some basic 3D plotting. First of all, is matplotlib suitable for that? I am asking since I read on the website that matplotlib's selling point is 2D plotting. What I would like to plot should be relatively easy: say that I have a distribution (e.g. think of a Gaussian) whose features evolve as time goes on. I aim at a 3D plot where time is the z coordinate, x is the independent variable of my distribution at t fixed and y=f(x) is my Gaussian distribution. The data I would like to plot are in the following form: f(t_1,x_1),f(t_1,x_2)...f(t_1,x_n) f(t_2,x_1),f(t_2,x_2)...f(t_2,x_n) . . . f(t_m,x_1),f(t_m,x_2)...f(t_m,x_n) and I know both the time sequence {t_1,t_2...t_m} and the x sequence {x_1,x_2,x_n}. I got something roughly similar to what I had in mind using R, but I do not think it is the right tool for that. Should I resort to Gnuplot by necessity or is Matplotlib up to the task? Judging from what I see on: http://www.scipy.org/Cookbook/Matplotlib/mplot3D that would seem the case. I have been trying to modify the last example with some artificially generated data, but so far unsuccessfully. Any suggestions? I suppose I am not the first one to come across this! Many thanks Lorenzo 