Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38d92b5 commit dfc9ccaCopy full SHA for dfc9cca
1 file changed
examples/pylab_examples/mri_with_eeg.py
@@ -29,11 +29,12 @@
29
ax1 = fig.add_subplot(2, 2, 2)
30
im = np.ravel(im)
31
im = im[np.nonzero(im)] # Ignore the background
32
-im = im / (2**15) # Normalize
+im = im / (2**16 - 1) # Normalize
33
ax1.hist(im, bins=100)
34
-ax1.xaxis.set_major_locator(MultipleLocator(0.5))
+ax1.xaxis.set_major_locator(MultipleLocator(0.4))
35
+ax1.minorticks_on()
36
ax1.set_yticks([])
-ax1.set_xlabel('Intensity')
37
+ax1.set_xlabel('Intensity (a.u.)')
38
ax1.set_ylabel('MRI density')
39
40
# Load the EEG data
0 commit comments