how to remove a marker from 1 end of a line

1 次查看(过去 30 天)
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.

采纳的回答

Weird Rando
Weird Rando 2016-5-5
编辑:Weird Rando 2016-5-5
x = 0:1
y=0:1
figure, hold on,
line(x,y,'LineStyle','-')
plot(1,1,'o')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Line Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by