Skip to content

Instantly share code, notes, and snippets.

@kusal1990
Created June 2, 2022 18:14
Show Gist options
  • Save kusal1990/d3a532957af4d752ae77c55558e738d6 to your computer and use it in GitHub Desktop.
Save kusal1990/d3a532957af4d752ae77c55558e738d6 to your computer and use it in GitHub Desktop.
fig=plt.figure(figsize=(14, 8), dpi= 120, facecolor='w', edgecolor='k')
plot_labels = ['Phase_0', 'Phase_1', 'Phase_2']
plt.plot((df_signal_train.loc[0].values), label=plot_labels[0])
plt.plot((df_signal_train.loc[1].values), label=plot_labels[1])
plt.plot((df_signal_train.loc[2].values), label=plot_labels[2])
plt.ylim((-60, 60))
plt.legend(loc='lower right')
plt.title('Raw Signal Data without Partial Discharge Fault')
plt.xlabel('Sample')
plt.ylabel('Amplitude [bit]')
@kusal1990
Copy link
Author

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment