plotting visual stimulus on timeseries graph?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hello!
I want to plot every stimulus onset as a multiple bars on the x axis on my timseries graph.
What kind of works so far is below:
onset = [100 120 130]
plot(time, timeseries); hold on
stem(ons, ones(1, length(ons)))
Which produces a graph like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/580906/image.png)
but i want a graph that plots the onset times + 32 seconds as a line at the top of the graph:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/580911/image.png)
any help would be much appreciated!
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur MRI 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!