How to make a stem graph to display less points?
조회 수: 7 (최근 30일)
이전 댓글 표시
Dear All,
The following code produces the following graphs.
Of course, I do not need the part of the second graph before the point -3. How to cut this part?

댓글 수: 2
Walter Roberson
2024년 12월 4일
It is much better to post code as text instead of a picture of code. None of us have a version of MATLAB that is able to run code from pictures.
채택된 답변
Image Analyst
2024년 12월 4일
Use axis
% Make t axis go from -3 to the maximum.
axis([-3, max(t)]);
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

