How to plot a dot on a function line with only 1 value

4 views (last 30 days)
I have a function that plots a parabolic function. I need to know how to plot a dot on that line at say x=4. I know that just plot(4,'bo') will give me a dot at 0,4 but i need one on the line itself.

Answers (1)

Walter Roberson
Walter Roberson on 7 May 2022
plot(x, y, '-', 0, 4, 'bo')

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!