Missing command in "line" (easy question)
Show older comments
Hello Guys/girls,
I want to make a line using the "line" command:
line([0 1],[1 1],'color',[0 0 0 ],' missing command for dashed line')
what is the addition if I want to make this line dashed, "-" doesnt seem to work. Cant find something on the internet
Thanks, G
Answers (1)
Walter Roberson
on 31 May 2016
0 votes
LineStyle
2 Comments
Giorgos
on 31 May 2016
Walter Roberson
on 31 May 2016
line([1 1],[0 1],'Color',[0 0 0], 'Linestyle', '--')
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!