Info

此问题已关闭。 请重新打开它进行编辑或回答。

graph comes out all rotated

1 次查看(过去 30 天)
PetronasAMG
PetronasAMG 2018-2-4
关闭: MATLAB Answer Bot 2021-8-20
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 2018-2-4
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() ?

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by