How to plot a horizontal line?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Mikhail Konovalov
le 12 Mai 2020
Modifié(e) : Mikhail Konovalov
le 13 Mai 2020
My function is just y=2050 and I need to plot it w/o using "yline", because it's not a graph, actually. I just type this:
x=[0:0.1:110];
y=[0:10:2060];
g=2050;
plot(x,g)
And I don't get anything. Like, completely anything:

And also after that I need to mark a point (100,2050) and be able to make it bigger than my graph.
How do I solve these problems?
0 commentaires
Réponse acceptée
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

