How to set a horizontal line at one specific point on a plot?

 Risposta accettata

For instance:
line([2.5,11.5],[-4,-4])

5 Commenti

2.5 is the starting point? Because when I set the starting point below zero the line doesn't appear
Yes it is starting point and below zero you can not see the line because your x axis starts at 0.01
I had to change that too eventually. Thank you very much.
Has the answer worked for you? If so, you can accept it.
Yes thank you. First time here. Didn't know.

Accedi per commentare.

Più risposte (0)

Categorie

Tag

Richiesto:

il 26 Nov 2017

Commentato:

il 26 Nov 2017

Community Treasure Hunt

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

Start Hunting!

Translated by