function stemnm(x, y) x = x(:).'; y = y(:).'; h = stem(x, y, 'k'); set(h,'Marker','none') axis tight