Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: creating a difficult graph (not sure what to call it)


From   "Steven Stillman (LMPG)" <Steven.Stillman@lmpg.dol.govt.nz>
To   "'statalist'" <statalist@hsphsun2.harvard.edu>
Subject   st: creating a difficult graph (not sure what to call it)
Date   Fri, 29 Nov 2002 15:09:11 +1300

I am hoping to create a graph which is an X by Y matrix.  Each cell is
shaded according to the percentage of observations in that cell (in some
sense this is a table in graphical form).  Does anyone have any ideas how to
approach this in stata?  Maybe an example will help:

X is industries, Y is occupations:  the graph would look like this where
letters represent shadings based on the % in each cell

	   1	    2	    3            4
	---------------------------------
   1	|  lllll	|  lllll	|  mmm	| mmm	|
	---------------------------------
   2	| dddd	|  ddd	|  lllll	| mmm	|
	---------------------------------
   3	| llllll	| mmm	| llll	| ddd	|
	---------------------------------
   4	| dddd	|  mmm	| dddd	| llllll	|
	---------------------------------

Or is the easier to do in excel?

Steve

<><><><><><><><><><><><><><><><>
Steven Stillman - Senior Economic Researcher
Labour Market Policy Group
New Zealand Department of Labour
PO Box 3705 - Wellington, New Zealand
Email: steven.stillman@lmpg.dol.govt.nz     
Web: http://www.thestillmans.org/econ.html
Tel: (64)4-915-4076 - Fax: (64)4-915-4040
<><><><><><><><><><><><><><><><>


The information contained in this document is intended only for the
 addressee and is not necessarily the views nor the official 
communication of the Department of Labour.  All final/official papers 
which are sent from the Department will be sent by non-electronic
means, on appropriate letterhead, signed by authorised personnel.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index