asjadnaqvi / stata-treemap

A Stata package for tree maps
MIT License
14 stars 3 forks source link

noval option #9

Closed NicolaTommasi8 closed 11 months ago

NicolaTommasi8 commented 11 months ago

Hi Asjad,

I don't understand the difference between the graphs generated by the following commands:

treemap y_TOT, by(NUTS0) labsize(2.5) format(15.0fc) title("Population of European countries")

treemap y_TOT, by(NUTS0) labsize(2.5) title("Population of European countries") noval

It's as if the noval option doesn't have any effect. These are the first 2 graphs

Thanks, Nicola

asjadnaqvi commented 11 months ago

There is a bug in the syntax where format() is defined without % and it is breaking the code. Will add better checks for this in the next update.

It should read:

treemap y_TOT, by(NUTS0) labsize(2.5) format(%15.0fc) title("Population of European countries")