Re: [Matplotlib-users] 2D data plotted in a 3D plot by adding time flow dimension

2015-05-11 Thread arjunascagnetto
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)

Re: [Matplotlib-users] 2D data plotted in a 3D plot by adding time flow dimension

2015-05-07 Thread Benjamin Root
Looks like nabble swallowed your code snippet. Here it is: ``` import matplotlib.pyplot as plt import mpl_toolkits.mplot3d.axes3d as p3 import numpy.random as rnd import numpy as np TILL = 200 # just to have an end in the for loop def SSI(t): #Simulated Serial Input T = np.asarray(t)

[Matplotlib-users] 2D data plotted in a 3D plot by adding time flow dimension

2015-05-07 Thread arjunascagnetto
hi, I try to make my question as clear as possible. I need to plot 2 dimensional data coming from the serial onto a 3d plot with the third axes made of time flowing. I wrote this code (it's just one of the many tries). It's about the plotting only, not worring about buffer from serial etc etc..