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: Two Stata graph questions: table to graph and bar graph color


From   "Song, Lin" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: Two Stata graph questions: table to graph and bar graph color
Date   Fri, 8 Nov 2013 20:33:28 +0000

Hi Stata experts,

I have a couple of questions related to Stata graphs.

First, I want to automatically generate two graphs on the same page side by side using graph combine (a map on the left and a table on the right).  However, the second graph is actually a table I generated using tabout.   Is it even possible to convert the table into a graph format so that they can be automatically combined?  This will be for a loop for many indicator variables?

Second, if I want to replace the table above on the right with a h bar graph, since the map on the left is a quartile map with 48 areas divided into four different colors, is it possible to automatically or semi-automatically assign the bars with the same color scheme (i.e. the colors will be based on RdGlBu for example with the four colors representing the values of the indicator variable)?   

Thanks a lot.

Lin



*
*   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