I have a question about plot. Plesase help me.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Nguyen Trong Nhan
le 20 Déc 2013
Commenté : Nguyen Trong Nhan
le 20 Déc 2013
I want to draw a line x = a perpendicular to the x axis in matlab. How do I do ? (with a = constant) value y from 3 to 5.
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 20 Déc 2013
Modifié(e) : Azzi Abdelmalek
le 20 Déc 2013
s=get(gca,'ylim')
hold on;
plot([a a],s)
2 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!