Some plot functions for NIRS

22 sec read

1. plotTraces, plot a time series, or multiple time series on one plot, with vertical lines indicating the markers (events). Can be used for data quality check and global signal detection.

plotTraces, showing one signal
plotTraces, showing one signal
plotTraces, showing multiple signals
plotTraces, showing multiple signals

2. plotTopoMap, plot a map of activation.

plotTopoMap
plotTopoMap

3. plot2, scatter plot, circle area proportional to sample size

plot2
plot2

4. plotAverage, plot average time courses over trials with standard error

plotAverage
plotAverage


Don't want to miss new papers in your field? Check out Stork we developed:

After fNIRS experiment …

Xu Cui
13 sec read

nirs2img, create an image file from NIRS data

I was asked where to get nirs2img script. Here it is. The download link is at the bottom of this article. nirs2img is to...
Xu Cui
51 sec read

7 Replies to “Some plot functions for NIRS”

  1. @Andrew
    fillhandle=fill(xpoints,filled,colors(ii,:));%plot the data
    set(fillhandle,’EdgeColor’,[1 1 1],’FaceAlpha’,0.2,’EdgeAlpha’,0);%set edge color

  2. I downloaded topo.m for nirs data mapping. Sample data works very well. however what I modified and saved as test.csv using “openoffice” or “ms-office-excel” which doesn’t load in topo.m
    what should I save as the file to use topo.m ?
    thanks in advanced.

  3. @baku
    I find similar problem – sometimes modified csv can’t be read. You may want to try to open the csv file using a plain text editor and see what happens.

  4. @Xu Cui
    thanks to rapid reply. I tried it in emacs save as plain text format(.txt) but there wasn’t any improvement. Everything is save as just other name topo.m reject to load the modified file which loaded in topo.m … confused and dazed @@

Leave a Reply

Your email address will not be published. Required fields are marked *