plotting graph straight line

11 views (last 30 days)
matt noman
matt noman on 7 Mar 2020
Answered: Star Strider on 7 Mar 2020
y=x^2+5
x=4
how do I plot this graph as a straight line

Answers (1)

Star Strider
Star Strider on 7 Mar 2020
x = 4;
y=x^2+5;
figure
yline(y)

Categories

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

Tags

Community Treasure Hunt

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

Start Hunting!