Plotting straight line on graph
Afficher commentaires plus anciens
Hey easy question but how do i plot the line y=40 in matlab? What is the script i need to write?
Thanks zane :)
Réponse acceptée
Plus de réponses (2)
Walter Roberson
le 5 Août 2015
plot([first_x last_x], 40)
Vedangi Gholap
le 16 Oct 2023
0 votes
plot([0 3], [40,40])
Catégories
En savoir plus sur Line Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!