[med-svn] [python-mne] 95/376: updating axis scaling in tfr example

Yaroslav Halchenko debian at onerussian.com
Fri Nov 27 17:22:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

yoh pushed a commit to annotated tag v0.1
in repository python-mne.

commit 18444e261e0431ad7f4adc4b1fdc430d5e5af5c9
Author: Alexandre Gramfort <alexandre.gramfort at inria.fr>
Date:   Fri Feb 25 13:03:35 2011 -0500

    updating axis scaling in tfr example
---
 examples/time_frequency/plot_time_frequency.py | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/examples/time_frequency/plot_time_frequency.py b/examples/time_frequency/plot_time_frequency.py
index f5209c3..baa8486 100644
--- a/examples/time_frequency/plot_time_frequency.py
+++ b/examples/time_frequency/plot_time_frequency.py
@@ -59,11 +59,12 @@ import pylab as pl
 pl.clf()
 pl.subplots_adjust(0.1, 0.08, 0.96, 0.94, 0.2, 0.63)
 pl.subplot(3, 1, 1)
-pl.plot(times, evoked_data.T)
+pl.plot(1e3 * times, 1e13 * evoked_data.T)
 pl.title('Evoked response (%s)' % raw['info']['ch_names'][picks[0]])
-pl.xlabel('time (s)')
-pl.ylabel('T / m')
+pl.xlabel('time (ms)')
+pl.ylabel('Magnetic Field (fT/cm)')
 pl.xlim(times[0], times[-1])
+pl.ylim(-200, 200)
 
 pl.subplot(3, 1, 2)
 pl.imshow(20*np.log10(power[0]), extent=[times[0], times[-1],

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git



More information about the debian-med-commit mailing list