MATLAB Answers

graph comes out all rotated

조회 수: 1(최근 30일)
PetronasAMG
PetronasAMG 4 Feb 2018
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

Walter Roberson
Walter Roberson 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() ?

로그인 to comment.

답변(0개)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

태그


Translated by