MATLAB Answers

how to drew vertical black line?

26 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?

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!