Is there a way in the handles menu to eliminate the circular "tips" on stem plots? I just want vertical lines as the plots are grouped four to a figure and the circular parts get in the way of the data.
Kshitij Singh answered .
2025-11-20
A slight adaptation of the example in the help to set marker size will do the trick:
figure x = 0:25; y = [exp(-.07*x).*cos(x);exp(.05*x).*cos(x)]'; h = stem(x, y); set(h(1),'MarkerFaceColor','blue','MarkerSize',0) set(h(2),'MarkerFaceColor','red','MarkerSize',0)