How to add string on x-axis and line starting from some point?

1 次查看(过去 30 天)
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?

采纳的回答

KSSV
KSSV 2022-3-10
You can show up the string using text. Read about this function.
You can draw line using plot.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by