Effacer les filtres
Effacer les filtres

why is line function not working?

3 vues (au cours des 30 derniers jours)
bsd
bsd le 26 Sep 2011
Hai,
I used the line() function. It is not drawing the line between the points I specified, it is just blank. Why is it so? Looking for your reply.
BSD
  1 commentaire
Jan
Jan le 26 Sep 2011
There is a bug in the command. If you post it, we can find it. If you do not post it, we can guess, what the problem might be. But this can be more confusing than not answering.

Connectez-vous pour commenter.

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 26 Sep 2011
You probably specified it wrong.
line([x1 x2],[y1 y2]), not line([x1,y1],[x2,y2])
line([0 1],[0 1]), not line([0 0],[1 1])

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by