how to drew vertical black line?

31 次查看(过去 30 天)
I want to drew vertical black line on the middle of 200x200 rectangle?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by