How do I plot using a circle on one end and a diamond on the other? see screen shot

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Ingrid
Ingrid il 19 Giu 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');

Più risposte (0)

Categorie

Scopri di più su Line Plots in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by