Info
This question is closed. Reopen it to edit or answer.
graph comes out all rotated
1 view (last 30 days)
Show older comments
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 Comment
Walter Roberson
on 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() ?
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!