Hello everyone,
I am trying to do a horizontally stacked car plot with two over options. The main one are the districts (DEPARTAMENTODOMICILIO) and the one that I want to be stacked if (grupo_edad).
I am using the following code:
graph hbar inci2 inci3, over(grupo_edad) over(DEPARTAMENTODOMICILIO, sort(inc) label(labsize(tiny))) stack asyvars nofill legend(off) ytitle("Fallecidos COVID sospechosos y confirmados por millón") ylabel(0(1000)7000) blabel(bar,pos(i) color(white) size(tiny)) title("Mortalidad acumulada según región")
but I get this plot:
Array
and I want it to be just I bar per DEPARTAMENTO like this and each bar divided by the age category (grupo_edad)
Array
Thanks in advance!
Related Posts with Stacked bar plot
Add Cohen's d effect size to esttab t-test tableHi Everyone, I am trying to create a (Latex) table in which I compare the means of two different su…
Need help for displaying bar labels for mean values using <cibar>Hi all, I am working on a replication assignment and I am using the ssc package cibar to to generat…
Store principal components from PCAHello everyone, I have a panel data (wide format) with 35 variables. I run a Principal Component Ana…
Export covariance matrix using esttab : Is it really impossible?On this thread here we figured out how to export a covariance matrix to Excel using -putexcel- : htt…
XTCSD PesaranHello everyone, Sorry to bother you all. I am currently running my panel data model with N=37 and T…
Subscribe to:
Post Comments (Atom)
0 Response to Stacked bar plot
Post a Comment