Trouble controlling x-axis values in stackedplot (or having all plots vertically stacked in tiledlayout for 14 columns)
Show older comments
Hi,
I am working on a project to import and graph EEG data, but I am having trouble using stackedplot (or, alternatively, having 14 tiled plots stacked vertically).
For stackedplot: I want to have Timestamp (or timestamp) as the x-axis and, if possible, I'd like to have the y-axes scaled the same. Also, I eventually want to use findpeaks on the plots. Is this possible in stackedplot, or should I go with the tiled plots?
For the tiled plots: I want the 14 plots vertically stacked on the same x-axis (basically, I want it to look like the stackedplot).
I've attached my Matlab code and the csv file I got my data from. Line 23 is where the plotting starts. (Lines 26 and 27 are my attempt at stackedplot. Everything after line 28 is my attempt at tiledplots)
Thank you so much for your help!
Accepted Answer
More Answers (0)
Categories
Find more on EEG/MEG/ECoG in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!