stem plots outside axes area?

2 views (last 30 days)
Song Decn
Song Decn on 28 Jan 2020
Commented: Song Decn on 29 Jan 2020
does any one familiar with this issue? I simply use stem to plot, but the data outside axes area are shown
Snipaste_2020-01-28_10-19-19.png

Answers (1)

Hiro
Hiro on 28 Jan 2020
Please show your code for me!
  1 Comment
Song Decn
Song Decn on 29 Jan 2020
figure;
subplot(221);
subplot(222);
subplot(223);
Y = linspace(-2*pi,2*pi,50);
stem(Y)
xlim([20 50])
subplot(224);
sample codes above
it has some problem with subplot, i think
untitled.jpg

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!