Just adding some color to my question...
This is how far I got.
gnuplot x1 x2 x3 year --output=display \
{ set style line 1 lc rgb "#ff0000"; \
set style line 2 lc rgb "#0000ff"; \
set style line 3 lc rgb "#00cc00"; \
set title "Teste"; \
set ylabel "US$ million" ; \
set grid ytics; \
set key left top; \
set style fill solid 0.3; \
set style data histograms; \
set style histogram rowstacked; \
set boxwidth 0.5 relative; \
plot '-' using 1:($2) title "kl" w boxes , \
'-' using 1:($2) title "hc" w boxes, \
'-' using 1:($2) title "tfp" w boxes;}
This produces a bar chart of x1 x2 and x3, with year in the horizontal
axis. But the bars are overlaid instead of stacked.
On Thu, Aug 28, 2014 at 3:47 PM, Paulo Grahl <pgrahl(a)gmail.com> wrote:
Hello Gretl community,
Does anyone have any tip on how to produce stacked bar plots in gretl?
I've searched around, digged into gnuplot manual, but I'm still having a
hard time figuring out how to produce a gretl script to generate stacked
bar chart.
Any help?
Thanks
-Paulo
--
Dr. Paulo Gustavo Grahl, CFA
------------------------------------------
pgrahl(a)gmail.com
pgrahl(a)fgvmail.br
skype:paulo.grahl
<
https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fabout.tw...
www.linkedin.com/in/pgrahl
------------------------------------------
--
Dr. Paulo Gustavo Grahl, CFA
------------------------------------------
pgrahl(a)gmail.com
pgrahl(a)fgvmail.br
skype:paulo.grahl
<
https://twitter.com/intent/follow?original_referer=https%3A%2F%2Fabout.tw...
www.linkedin.com/in/pgrahl
------------------------------------------