Cumulatiave Distribution Function 2
Sat 17 May 2025
title: "Cumulative Distribution Function 2" author: "Raja CSP Raman" date: 2019-05-06 description: "-" type: technical_note draft: false
import numpy as np
import matplotlib.pyplot as plt
data = np.loadtxt('random_timestamp.txt')
print(data)
sorted_data = np.sort(data)
yvals=np.arange(len(sorted_data))/float(len(sorted_data)-1)
plt.plot(sorted_data,yvals)
plt.show()
[1.37969832e+09 1.37969826e+09 1.37969682e+09 1.37969814e+09
1.37969802e+09 1.37969856e+09 1.37969664e+09 1.37969676e+09
1.37969940e+09 1.37969976e+09 1.37969850e+09]

Score: 0
Category: scipy