How to add string on x-axis and line starting from some point?
2 views (last 30 days)
Show older comments
Hi guys,
In my figure I want to highlight a value on the x-axis using string and the corrispondent numerical value ("tau_1 = 66") and then I want to draw a line parallel to the vertical axis through that point.
I would like to achieve something like in the figures below:


Can you help me?
0 Comments
Accepted Answer
KSSV
on 10 Mar 2022
You can show up the string using text. Read about this function.
You can draw line using plot.
2 Comments
More Answers (0)
See Also
Categories
Find more on Characters and Strings 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!