popravil prikaz, log skala
parent
7c82e3bc11
commit
df8767b8a2
|
@ -48,8 +48,9 @@ f=fskala[4:-1]
|
|||
initsum = spekter(fs,pts,avg,fskala)
|
||||
fig,ax = plt.subplots()
|
||||
raw,pn, = ax.plot(f,initsum,f,initsum)
|
||||
ax.set_xlim(0, 100000)
|
||||
ax.set_xlim(100, 100000)
|
||||
ax.set_ylim(-130,-30)
|
||||
plt.xscale('log')
|
||||
ax.grid(True)
|
||||
|
||||
def meritev():
|
||||
|
@ -63,4 +64,5 @@ def meritev():
|
|||
return raw,pn
|
||||
|
||||
ani = animation.FuncAnimation(fig,meritev,interval=50)
|
||||
plt.show()
|
||||
print('*** Konec ***') #pritisk tipke na tipkovnici
|
||||
|
|
Loading…
Reference in New Issue