From 034e7a79d5ab538b5329dcaedb3a3f585b4ed55d Mon Sep 17 00:00:00 2001
From: Christian Beckmann <c.beckmann@donders.ru.nl>
Date: Tue, 8 Jul 2003 21:06:54 +0000
Subject: [PATCH] *** empty log message ***

---
 Makefile     | 2 +-
 melreport.cc | 8 +++++---
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index f55a1ef..2012f48 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 include ${FSLCONFDIR}/default.mk
 
-OPTFLAGS = -O3
+OPTFLAGS = -O3 
 
 PROJNAME = melodic2
 
diff --git a/melreport.cc b/melreport.cc
index b49e489..ba4e32e 100644
--- a/melreport.cc
+++ b/melreport.cc
@@ -133,17 +133,19 @@ namespace Melodic{
       
       {//plot frequency 
 	miscplot newplot;
+	RowVector empty(1);
+	empty = 0.0;
 	int fact = int(std::pow(10.0,int(std::log10(float(melodat.get_mix().Nrows())))));
       
 	if(opts.tr.value()>0.0)
-	  newplot.timeseries(melodat.get_fmix().Column(cnum).t(),
+	  newplot.timeseries(empty | melodat.get_fmix().Column(cnum).t(),
 			     report.appendDir(string("f")+
 					      num2str(cnum)+".png"),
 			     string("FFT of timecourse (in Hz / ") +num2str(fact)+")",
 			     fact/(opts.tr.value()*melodat.get_mix().Nrows()), 150,
 			     0,2);
 	else
-	  newplot.timeseries(melodat.get_fmix().Column(cnum).t(),
+	  newplot.timeseries(empty | melodat.get_fmix().Column(cnum).t(),
 			     report.appendDir(string("f")+
 					      num2str(cnum)+".png"),
 			     string(string("FFT of timecourse (in cycles); ")
@@ -154,7 +156,7 @@ namespace Melodic{
 				  +"* TR)/cycles"));
 	write_ascii_matrix(report.appendDir(string("f")
 					    +num2str(cnum)+".txt"),
-			   melodat.get_mix().Column(cnum));
+			   melodat.get_fmix().Column(cnum));
 	IChtml << "<A HREF=\"" << string("f")
 	  +num2str(cnum)+".txt" << "\"> ";
 	IChtml << "<img BORDER=0 SRC=\"" 
-- 
GitLab