How do I plot using a circle on one end and a diamond on the other? see screen shot
1 view (last 30 days)
Show older comments
Christine Paongo
on 19 Jun 2015
Commented: Christine Paongo
on 19 Jun 2015
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
Accepted Answer
Ingrid
on 19 Jun 2015
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');
More Answers (0)
See Also
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!