How do I plot using a circle on one end and a diamond on the other? see screen shot
조회 수: 1 (최근 30일)
이전 댓글 표시
Screen shot is of a wave that stops and ends. One end is marked with a circle the other end is marked with a diamond
채택된 답변
Ingrid
2015년 6월 19일
as you can see from the legend also, these are just 4 different plots, if the data you have to plot your function is stored in x and y vectors than the commands below will show the plot like that
figure
plot(x,y,'k-',x(1),y(1),'rs',x(end),y(end),'bd');
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!