I have some lines on a graph showing population in communites over time, alongside the total population. However, the change in population size within the communites is very small and doesn't look good on the graph. Is their a function to make the X coordiantes more spread out so the curve is more obvious?

 Réponse acceptée

Star Strider
Star Strider le 7 Déc 2022

0 votes

It would likely be more appropriate to use stackedplot (or subplot or tiledlayout) for this. Presenting each in separate axes would likely emphasize the variation.

2 commentaires

joe brady
joe brady le 7 Déc 2022
Great, looks a lot better thank you.
Star Strider
Star Strider le 7 Déc 2022
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by