how to remove a marker from 1 end of a line

6 visualizaciones (últimos 30 días)
Kate
Kate el 5 de Mayo de 2016
Editada: Weird Rando el 5 de Mayo de 2016
hello,
I draw lines using the 'line' function in Matlab 2014B.
For example:
x = 0:1
y=0:1
figure, hold on,
line(x,y,'LineStyle','-','Marker','o')
With the above code, the marker is plotted on both endpoints of the line.
Is there any code I can use to remove the Marker which is at the origin (0,0) endpoint on the line?
thank you.

Respuesta aceptada

Weird Rando
Weird Rando el 5 de Mayo de 2016
Editada: Weird Rando el 5 de Mayo de 2016
x = 0:1
y=0:1
figure, hold on,
line(x,y,'LineStyle','-')
plot(1,1,'o')

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