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!