Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: graph hbar - different colors for different groups defined by an external variables


From   Alice Guerra <[email protected]>
To   [email protected]
Subject   st: graph hbar - different colors for different groups defined by an external variables
Date   Fri, 20 Sep 2013 16:52:45 +0200

Dear Statalists,

I was wondering if it would be possible to have different colors in a
graph hbar for different groups. The groups are defined by an external
variable.

In my dataset, I have the Italian regions. I want to plot them in a
graph hbar, and I want to color the bars of the Northern regions in
black, the bars of the Southern regions in gray, and the central
regions in white. the external variable for the geographic ripartition
of regions is called "geo".

Thank you for your time and help.

Best regards

Alice
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index