how to drew vertical black line?

90 views (last 30 days)
Moon Shadow
Moon Shadow on 5 Feb 2014
Answered: Mischa Kim on 5 Feb 2014
I want to drew vertical black line on the middle of 200x200 rectangle?

Accepted Answer

Mischa Kim
Mischa Kim on 5 Feb 2014
Use the line command.
line([1,1],[0,2],'Color','k')
draws a black line from (1,0) to (1,2), for example.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!