plot many channels with same x axis and repeated y axis values
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello Everyone,
I would like to know which method could be the best in order to get an image like the one in the attachments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1174223/image.gif)
it represent a linear probe that goes deep into the brain surface, whith 16 channels in Y axis. As you could see, each channels displays different values, but they share the same x-y axis range.
i have a matrix with 2000 time points filled with values x 16 channels. I would like to get an image close to the one displayed, plus the function should make easy to change the range of channels displayed (16 now and then 5 channels only)
Thanks so much in advance
1 commentaire
Réponse acceptée
Jan
le 30 Oct 2022
X = rand(20, 200); % Some test data
XX = X + (0:19).'; % Shift vertically
plot(1:200, XX)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots 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!