Page 1 of 1
How to draw population pyramid graph like this?
Posted: Tue Nov 03, 2009 7:03 am
by lynchyml
rt
Posted: Tue Nov 03, 2009 10:02 am
by karankhosla
I'd presume that you'd have to:
1) build age-specific cohorts for each of the two genders [see Business Dynamics Chapter 12];
2) run your model;
3) export the raw data into excel;
4) create a graph for the simulation results at the time in question.
Best
Karan
Posted: Tue Nov 03, 2009 11:52 am
by bob@vensim.com
Hi Karan,
That is a Vensim graph. Use a definitions such as
:BAR-GRAPH POPPYR
:TITLE Population Pyramids
:WIP
:Y-MIN 0
:Y-MAX 0.0001
:HORIZONTAL
:FORCE
:SOFT-BOUNDS
:SUBTITLE Female
:OSUBTITLE Male
:VAR population by gender and age[FEMALE,age]
:OVAR population by gender and age[MALE,age]
The attached model displays this and is set up to evolve the pyramid as it simulations - lots more age groups in this one than in the graph you displayed.
Posted: Tue Nov 03, 2009 6:23 pm
by karankhosla
Thanks Bob, that's quite useful!
Posted: Sat Nov 07, 2009 8:10 am
by lynchyml
thank you very much!, but I didnot find where to do the definitions
Originally posted by bob@vensim.com
Hi Karan,
That is a Vensim graph. Use a definitions such as
:BAR-GRAPH POPPYR
:TITLE Population Pyramids
:WIP
:Y-MIN 0
:Y-MAX 0.0001
:HORIZONTAL
:FORCE
:SOFT-BOUNDS
:SUBTITLE Female
:OSUBTITLE Male
:VAR population by gender and age[FEMALE,age]
:OVAR population by gender and age[MALE,age]
The attached model displays this and is set up to evolve the pyramid as it simulations - lots more age groups in this one than in the graph you displayed.
[Edited on 11-7-2009 by lynchyml]
[Edited on 11-7-2009 by lynchyml]
Posted: Sat Nov 07, 2009 1:36 pm
by bob@vensim.com
See Chapter 15 of the Reference Manual. The graph definitions need to be entered in text files the opened using the Open... button on the graphs tab of the control panel.