yes you've got it. Thanks for the link. Just some days after posting this
question i succeced and i found out the set_3d_proprierties function doing
the magic. Here the clean code.
import matplotlib.pyplot as plt
import numpy as np
from mpl_toolkits.mplot3d import Axes3D
t=np.linspace(0,10,1000)
x=np.sin(t)
y=np.cos(t)
plt.ion()
fig = plt.figure()
ax = fig.gca(projection='3d')
line, = ax.plot(x,y,t)
for i in range(400):
t=np.linspace(i,i+30,1000)
ax.set_zlim(i,i+100)
x=np.sin(t)
y=np.cos(t)
line.set_data(x,y)
line.set_3d_properties(t)
plt.draw()
--
View this message in context:
http://matplotlib.1069221.n5.nabble.com/2D-data-plotted-in-a-3D-plot-by-adding-time-flow-dimension-tp45468p45493.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users