one common legend in SPGRAPH
Posted: Sat Jan 25, 2014 8:20 am
Dear Tom,
I am plotting FEVD stacked graphs for 3 different countries. Each country is decomposed by five factors. I am wondering whether it is possible to have one common legend showing the colour scheme of the five factors at the bottom of the SPGRAPH? If not with SPGRAPH, what might be another way of doing so in RATS?
Thanks for your time in advance.
Regards,
Shawn
I am plotting FEVD stacked graphs for 3 different countries. Each country is decomposed by five factors. I am wondering whether it is possible to have one common legend showing the colour scheme of the five factors at the bottom of the SPGRAPH? If not with SPGRAPH, what might be another way of doing so in RATS?
Code: Select all
spgraph(vfields=2,hfields=2)
graph(header='Australia',number=0,style=stacked,min=0,max=100,scale=both) 5
# AUS_FEVD_RG; # AUS_FEVD_US; # AUS_FEVD_EU; # AUS_FEVD_JP; # AUS_FEVD_CN
graph(header='Hong Kong',number=0,style=stacked,min=0,max=100,scale=both) 5
# HK_FEVD_RG; # HK_FEVD_US; # HK_FEVD_EU; # HK_FEVD_JP; # HK_FEVD_CN
graph(header='New Zealand',number=0,style=stacked,min=0,max=100,scale=both) 5
# NZ_FEVD_RG; # NZ_FEVD_US; # NZ_FEVD_EU; # NZ_FEVD_JP; # NZ_FEVD_CN
spgraph(done)
Regards,
Shawn