How can I add markers into my plot?
Show older comments
Hallo everyone,
I would like to ask you how to add some kind of marker to hightlight an area I want to emphasize. I´m trying to plot a signal in frequency domain via below and I would like to add some thin line (or something like that) on...lets say 49,4 Hz and on about 20 other frequency values. There´s probably a way to draw it line by line, but I´m looking for some easier way, because I´m about to do the same on about 10 other plots.

Thanks in advance,
Patrik
4 Comments
Birdman
on 5 Apr 2018
Can you share your data in a mat file?
Patrik Soukup
on 5 Apr 2018
Birdman
on 5 Apr 2018
I need the transformed data.
Patrik Soukup
on 5 Apr 2018
Edited: Patrik Soukup
on 5 Apr 2018
Answers (1)
Walter Roberson
on 5 Apr 2018
Edited: Walter Roberson
on 5 Apr 2018
0 votes
You could also consider using fill() and setting the AlphaData of the returned patch to make it semi-transparent.
1 Comment
Patrik Soukup
on 5 Apr 2018
Edited: Patrik Soukup
on 5 Apr 2018
Categories
Find more on Annotations 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!