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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Ingrid
Ingrid el 19 de Jun. de 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');

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by