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

 Respuesta aceptada

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

5 comentarios

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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 26 de Nov. de 2017

Comentada:

el 26 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by