time series graph representation of EEG signals
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
There is a graphical representation of time series signal processing of EEG signals
What do different colors indicate?
4 commentaires
Réponses (1)
Cris LaPierre
le 24 Avr 2025 à 17:46
No way of knowing without seeing the code used to create the plots. However, the images appear to be using the default colors, so if you know what order the signals were plotted, you can figure out what each color represetns. Still, it sounds like it would be a good idea to add a legend to your plots.
There are 7 colors used in MATLAB by default to distinguish unique series. These can be determined using colororder
C = colororder
I'll use imagesc to show what the colors are in order (1 is first, 7 is last).
imagesc(reshape(C,7,1,3))
So if FP1 were plotted first, it would be dark blue. If FP2 were plotted second, it would be orange. Continuing on, then O1 woud be red, and since O2 is the 8th line added to your plot, the colororder would start over, and it would also be dark blue.
1 commentaire
Cris LaPierre
le 24 Avr 2025 à 17:56
To specifically answer the question "What do different colors indicate?", the indicated separate data series plotted on the same axes. Think of series as the columns in your data set.
As an example, meas is a 150x4 array in the fisher-iris data set.
load fisheriris.mat
meas
plot(meas)
legend("sepal length", "sepal width", "petal length", "petal width")
Voir également
Catégories
En savoir plus sur EEG/MEG/ECoG dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!