I want to draw a figure of the mesh which the interval (0,1) ared divided into 8 equalsize subintervals. Which comment do I need to use ? The points needs to be on the natural straiht line. Thanks
Asked
Active
Viewed 993 times
2 Answers
4
L = 0:1/8:1;
plot(L,zeros(size(L)),'.','MarkerSize',14);
hold on
plot([0 1],[0 0],'k')
Emily
- 35,688
- 6
- 93
- 141