Skip to content

Commit 22fb1f1

Browse files
committed
Image Changes
1 parent 4380663 commit 22fb1f1

File tree

6 files changed

+166
-212
lines changed

6 files changed

+166
-212
lines changed

.ipynb_checkpoints/FFT-Tutorial-checkpoint.ipynb

Lines changed: 80 additions & 105 deletions
Large diffs are not rendered by default.

FFT-Tutorial.ipynb

Lines changed: 80 additions & 105 deletions
Large diffs are not rendered by default.

FFT-Tutorial.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,24 +254,26 @@
254254
plt.figure(figsize=(7,3))
255255
plt.subplot(121)
256256
plt.plot(t,s)
257+
plt.title('Time Domain Signal')
257258
plt.ylim(np.min(s)*3, np.max(s)*3)
258259
plt.xlabel('Time ($s$)')
259260
plt.ylabel('Amplitude ($Unit$)')
260261

261262
plt.subplot(122)
262263
plt.plot(X, 2.0*np.abs(Yhann[:N])/N)
264+
plt.title('Frequency Domain Signal')
263265
plt.xlabel('Frequency ($Hz$)')
264266
plt.ylabel('Amplitude ($Unit$)')
265267

266268
plt.annotate("FFT",
267269
xy=(0.0, 0.1), xycoords='axes fraction',
268270
xytext=(-0.8, 0.2), textcoords='axes fraction',
269-
size=50, va="center", ha="center",
271+
size=30, va="center", ha="center",
270272
arrowprops=dict(arrowstyle="simple",
271273
connectionstyle="arc3,rad=0.2"))
272274
plt.tight_layout()
273275

274-
plt.savefig('FFT.png',bbox_inches='tight', dpi=300)
276+
plt.savefig('FFT.png',bbox_inches='tight', dpi=150, transparent=True)
275277

276278
# <markdowncell>
277279

@@ -312,6 +314,7 @@
312314
df.Load.plot()
313315
plt.title('Vertical Grid Load Germany 2013')
314316
plt.ylabel('Power [$MW$]')
317+
plt.savefig('VerticalGridLoadGermany2013.png',bbox_inches='tight', dpi=150, transparent=True)
315318

316319
# <headingcell level=3>
317320

@@ -362,6 +365,7 @@
362365
plt.xlim(0, 180)
363366
plt.ylim(0, 1500)
364367
plt.xlabel('Period ($h$)')
368+
plt.savefig('VerticalGridLoadGermany2013-FFT.png',bbox_inches='tight', dpi=150, transparent=True)
365369

366370
# <markdowncell>
367371

FFT.png

-52.4 KB
Loading
101 KB
Loading

VerticalGridLoadGermany2013.png

209 KB
Loading

0 commit comments

Comments
 (0)