How to make a stem graph to display less points?
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 4 Déc 2024
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.
Réponse acceptée
Image Analyst
le 4 Déc 2024
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 commentaire
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Graphics Performance dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

