How to plot a specified point in a plot?

3 次查看(过去 30 天)
Sir,
I have a function to plot and mark a point on the curve when y axis value become a specified value (say y=1.2). How shall i do this, if the specific value of y is not in the array i used for plotting?

回答(2 个)

Haritha
Haritha 2018-12-14

madhan ravi
madhan ravi 2018-12-14
plot(corresponding_x_value,1.2,'ok')

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by