Plotting space and time in 5D for Einstein

I wanted to see how game scores could indiacte my mental state so I designed this way to display the plot and played the game at various times throughout the day. I think it does indicate ( to some degree ) when I am off the mark and have difficulty concentrating or am distracted. I suppose the universe could be a 3D hologram of a 5D universe, in which case it really isn't a hologram at all, but a sub-space gram.

The code has many vestigial things in it, but does run with a CSV set with winning time in seconds and time in seconds like bash shell command " seconds=`date +%s` " It should be obvious that the red line is average, from the code.





#/usr/bin/env python import numpy as np import matplotlib.pyplot as plt import matplotlib.mlab as mlab import matplotlib.ticker as ticker import datetime import time p=(time.time())/60 from datetime import date from datetime import time from datetime import * p2=datetime.fromtimestamp(1319724549) r = mlab.csv2rec('scores') #r.sort() N = len(r) ind = np.arange(N) # the evenly spaced plot indices verts = [] for row in r: verts.append(row) #verts.sort() x_arr = [] y_arr = [] ssum=0 counts=0 for vert in verts: x_arr.append((vert[0])/(60*1440.0)+9.0/24.0) y_arr.append(vert[1]/60.0) ssum=ssum+(vert[1]/60.0) counts+=1 av=ssum/counts print "average ",av when=date.today() fig = plt.figure() ax = fig.add_axes([0.1, 0.1, 0.8, 0.8]) ax.axhline(y=av, xmin=0, xmax=1000,linewidth=4, color='r' ) ax.set_title('Einstein scores '+str(when)) ax.set_ylabel('Solve time in minutes') ax.set_xlabel('days ') ax.grid(True) ax.plot(x_arr,y_arr, color='b', lw=2, marker='+', label='Score') #plt.show() fig.savefig('/home/user/Desktop/escore.png')

0 comments:

Contributors

Automated Intelligence

Automated Intelligence
Auftrag der unendlichen LOL katzen