I don't know exactly what you mean, but try the following code and see if one of them match your needs.
x = 1:10;
y = 1:10;
stem(x,y)
plot(x,y,'*')
plot(x,y,'-*')
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!