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 070e3fd6dd1d5dcd2a8426a8477abbb003a98e13 Author: Matti Hamalainen <[email protected]> Date: Thu Feb 17 11:41:02 2011 -0500 Improved the scales in plot_read_evoked --- examples/plot_read_evoked.py | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/examples/plot_read_evoked.py b/examples/plot_read_evoked.py index 3e8634a..3a58b33 100644 --- a/examples/plot_read_evoked.py +++ b/examples/plot_read_evoked.py @@ -10,7 +10,6 @@ Reading and writing an evoked file print __doc__ -import os from mne import fiff from mne.datasets import sample data_path = sample.data_path('.') @@ -25,19 +24,25 @@ data = fiff.read_evoked(fname, setno=0, baseline=(None, 0)) import pylab as pl pl.clf() pl.subplot(3, 1, 1) -pl.plot(data['evoked']['times'], data['evoked']['epochs'][0:306:3,:].T) -pl.title('Planar Gradiometers') -pl.xlabel('time (s)') -pl.ylabel('MEG data (T / m)') +pl.plot(1000*data['evoked']['times'], + 1e13*data['evoked']['epochs'][0:306:3,:].T) +pl.ylim([-200, 200]) +pl.title('Planar Gradiometers 1') +pl.xlabel('time (ms)') +pl.ylabel('MEG data (fT/cm)') pl.subplot(3, 1, 2) -pl.plot(data['evoked']['times'], data['evoked']['epochs'][1:306:3,:].T) -pl.title('Axial Gradiometers') -pl.xlabel('time (s)') -pl.ylabel('MEG data (T / m)') +pl.plot(1000*data['evoked']['times'], + 1e13*data['evoked']['epochs'][1:306:3,:].T) +pl.ylim([-200, 200]) +pl.title('Planar Gradiometers 2') +pl.xlabel('time (ms)') +pl.ylabel('MEG data (fT/cm)') pl.subplot(3, 1, 3) -pl.plot(data['evoked']['times'], data['evoked']['epochs'][2:306:3,:].T) +pl.plot(1000*data['evoked']['times'], + 1e15*data['evoked']['epochs'][2:306:3,:].T) +pl.ylim([-600, 600]) pl.title('Magnetometers') -pl.xlabel('time (s)') -pl.ylabel('MEG data (T)') +pl.xlabel('time (ms)') +pl.ylabel('MEG data (fT)') pl.subplots_adjust(0.175, 0.08, 0.94, 0.94, 0.2, 0.63) pl.show() -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-mne.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
