Select Git revision
ModuleTemplateFactory.php
-
Dan Garner authored
fixes xibosignageltd/xibo-private#879
Dan Garner authoredfixes xibosignageltd/xibo-private#879
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
val.py 428 B
# To add a new cell, type '# %%'
# To add a new markdown cell, type '# %% [markdown]'
# %%
from matplotlib import pyplot as plt
import numpy as np
# %%
file = open("values.txt","r")
# %%
f = file.readline()
print(f)
niter = int(f)
g = [0]*niter
for i in range (0, niter):
g[i]= file.readline()
g[i]=float(g[i])
file.close()
print(g)
# %%
p= np.arange(1,niter+1)
print(p)
# %%
plt.plot(p,g,'r-')
# %%