Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~2K People Reached
Favorite Forums
Favorite Tags
Member Avatar for MissAuditore

Hi, My code: Print Y fig = plt.figure(figsize = plt.figaspect(0.5)) ax = fig.add_subplot(1, 1, 1, projection='3d') surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1, cmap = cm.gist_rainbow, linewidth=0, antialiased=False) print Y ax.yaxis.set_major_formatter(matplotlib.dates.DateFormatter('%H:%M:%S\n%m/%d/%Y')) #ax.yaxis.set_major_locator(dates.MinuteLocator()) fig.colorbar(surf) plt.show() Result: [[ 1.34503975e+09 1.34503975e+09 1.34503975e+09 ..., 1.34503975e+09 1.34503975e+09 1.34503975e+09] [ 1.34503980e+09 1.34503980e+09 1.34503980e+09 ..., 1.34503980e+09 1.34503980e+09 …

0
81
Member Avatar for MissAuditore

Hi guys, Trying to learn more about pandas csv reading. I have a file, with date and time on first row and a lot of data below. I want to be able to slice the data from T1 to T2 and use it for something. fname = "C:\Users\zana.pepaj\Desktop\Temperature.csv" data = …

Member Avatar for MissAuditore
0
183
Member Avatar for MissAuditore

Hi, Have a csv-file with time as heading for each column and first column with depth and temperature inbetween. n*m table, or plot. I'm having problems reading the csv file: fname = r'C:\Users\Desktop\Temperature.csv' T1 = '15.08.2012 16:09:10' T2 = '15.08.2012 19:22:57' initial = time.mktime(time.strptime(T1, "%d.%m.%Y %H:%M:%S")) final = time.mktime(time.strptime(T2, "%d.%m.%Y …

Member Avatar for rrashkin
0
203
Member Avatar for MissAuditore

*Hi, I am trying to plot a 3D surface plot. I have a list of x,y,z values. They are all of different dimensions. y1 y2 y3 y4... x1 z11 z12 z13 z14 x2 z21 z22 z23 .... x3 ................. x4 x5 . . . etc..* import csv from mpl_toolkits.mplot3d import …

Member Avatar for dashing.adamhughes
0
258
Member Avatar for MissAuditore

Hi guys, Having a bit of a problem with reading and writing to a file. I have a file that has a lot of symbolic stuff I want to remove. And get a new kinda clean file with just the numbers and names. And it finds the line where it …

Member Avatar for Lardmeister
0
229
Member Avatar for MissAuditore

Hi, I have a csv file im reading and this is what I have done so far: import csv filename='C:\Users\temperature.csv' with open(filename, 'rb') as csvf: reader = csv.reader(csvf) for row in reader: print row the result is as following: ['Depth (m);15.08.2012 15:39:09;15.08.2012 16:09:10;15.08.2012 16:39:10;15.08.2012 16:43:36'] ['0;53.218;52.804;52.865;51.202'] ['0.128;53.107;52.709;52.414;52.141;'] ['1.143;52.205;51.88;51.664;51.234'] ['2.159;51.026;50.846;50.842;51.258'] ['3.174;50.061;50.055;50.457;50.19'] …

Member Avatar for HiHe
0
219
Member Avatar for MissAuditore

Hi, I was wondering if there is a way to click at a certain point in the figure thats made, and make python pick up those values. So I can see the value of x f.ex in the down left corner in the figure. So my question is if it …

Member Avatar for vegaseat
-1
99
Member Avatar for MissAuditore

Hi guys, I'm pretty new to Python and having some issues. I have some data points in first and second column. First column is elapsed time. I am trying to implement a differential interval condition which goes as following: ln(t_i+j)-ln(t_i) >= exp(0.2) ln(t_i)-ln(t_i-k) >= exp(0.2) My code so far:P So …

0
88
Member Avatar for MissAuditore

Hi, I have a csv-file with Date in first column, pressure in second and temperature in third (a lot of data). Small example below: 08/08/2012 09:26:01,14.334,26.379 08/08/2012 09:26:02,14.329,26.376 08/08/2012 09:26:03,14.337,26.394 08/08/2012 09:26:04,14.324,26.421 I want to extract from t1 to t2 and then calculate the elapsed time (t2>t1). My code so …

Member Avatar for vegaseat
0
853