How can I plot a very dense discrete signal?

I am trying to plot a discrete signal X(k) with 8192 samples and all the values in the interval [-3,6] (0<=k<=8191 and -3<=X(k)<=6 for every k). The plot that I take is shown in the picture.
It is probably correct, but how can I make the plot less dense and more clear?
Thank you!

Answers (1)

Currently you are using command
stem(x,y)
now instead of using stem, try plot
plot(x,y,'.') % where '.' means that you want to plot in dot forms
or in the form of circles
plot(x,y,'o')

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!