Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

graph comes out all rotated

1 Ansicht (letzte 30 Tage)
PetronasAMG
PetronasAMG am 4 Feb. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 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 Kommentar
Walter Roberson
Walter Roberson am 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() ?

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by