Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

graph comes out all rotated

1 visualizzazione (ultimi 30 giorni)
PetronasAMG
PetronasAMG il 4 Feb 2018
Chiuso: MATLAB Answer Bot il 20 Ago 2021
so this is what i have
posdegreeline = refline(tand(-45),0);
negdegreeline = refline(tand(45),0);
posdefreeline.Color = 'r';
negdegreeline.Color = 'r';
and i get
i dont know why top angled one is not colored and also it need to look like this
angel has to be 45 both side please help!!
  1 Commento
Walter Roberson
Walter Roberson il 4 Feb 2018
Is it possible that you change your xlim or ylim after drawing the refline? Including automatically such as if you did another plot() that happened to have x or y data outside the xlim and ylim that were active when you called upon refline() ?

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by