ac09d6073b931277f3bd284a972a6c9f46fec1d5,examples/pylab_examples/spectrum_demo.py,,,#,5

Before Change


plt.subplot(3, 2, 4)
plt.magnitude_spectrum(s, Fs=Fs, scale="dB")

plt.subplot(3, 2, 5)
plt.angle_spectrum(s, Fs=Fs)

plt.subplot(3, 2, 6)
plt.phase_spectrum(s, Fs=Fs)

After Change


// plot time signal:
axx[0, 0].plot(t, s)
axx[0, 0].set_xlabel("Time $t$")
axx[0, 0].set_ylabel("Signal $s(t)$")

// plot different spectrum types:
axx[1, 0].magnitude_spectrum(s, Fs=Fs)
axx[2, 0].phase_spectrum(s, Fs=Fs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: ac09d6073b931277f3bd284a972a6c9f46fec1d5
Time: 2017-03-01
Author: Dietrich.Brunn@web.de
File Name: examples/pylab_examples/spectrum_demo.py
Class Name:
Method Name:


Project Name: neurodsp-tools/neurodsp
Commit Name: 5196910e726c04648f5cffae5f50ecd3171539ce
Time: 2019-03-17
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/filt.py
Class Name:
Method Name: plot_frequency_response


Project Name: matplotlib/matplotlib
Commit Name: 869bd95b3d8eb4e333f303a7fd25cb84f1b66c6f
Time: 2017-05-29
Author: quantum.analyst@gmail.com
File Name: examples/text_labels_and_annotations/legend_demo.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 21339f4cbbe3988edfe24b28a91af2278b7a3382
Time: 2016-09-05
Author: multicolor.mood@gmail.com
File Name: doc/source/plots/hough_tf.py
Class Name:
Method Name: