Hi all, I am having problems in labelling graph with splitvallabels and catplot, I suspect that the problem is splitvallabels...

Code:

ssc install splitvallabels

ssc install catplot

Example:

clear all
sysuse auto
splitvallabels foreign, length(36) nobreak local(vari)  
catplot foreign, percent var1opts(sort(1) relabel(`vari'))
Array







The real frequency and percentages: Array






I am using length=36 because I use a loop with labels very long and this set up display ok my labels.

I am using stata 13

Please any recomendation I will gratefull