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?

 Akzeptierte Antwort

Star Strider
Star Strider am 7 Dez. 2022

0 Stimmen

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 Kommentare

joe brady
joe brady am 7 Dez. 2022
Great, looks a lot better thank you.
Star Strider
Star Strider am 7 Dez. 2022
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by