How to make a stem graph to display less points?
24 views (last 30 days)
Show older comments
Sergei
on 4 Dec 2024 at 0:38
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 Comments
Walter Roberson
on 4 Dec 2024 at 0:42
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.
Accepted Answer
Image Analyst
on 4 Dec 2024 at 1:42
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:
1 Comment
More Answers (0)
See Also
Categories
Find more on Axis Labels 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!