How can I stack STEM plots in a single Matlab plot
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to stack 3 STEM plots but unable to do so.
I did the 3 normal plots by doing +1 and +2.
How can I do it?
채택된 답변
Sean de Wolski
2014년 4월 4일
편집: Sean de Wolski
2014년 4월 4일
x = (1:10)';
y = rand(10,3);
ys = cumsum(y,2);
stem(x,fliplr(ys))
댓글 수: 2
Sean de Wolski
2014년 4월 4일
I just edited the example. I think it's probably more in line with what you want now.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!