Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Graph bar and xlabel


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Graph bar and xlabel
Date   Thu, 30 Mar 2006 06:06:56 -0600

over() has several suboptions, including labsize()

For example:
sysuse auto,clear
graph hbar (mean) price in 1/30, over(make, label(labsize(vsmall)))

Scott


> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-
> statalist@hsphsun2.harvard.edu] On Behalf Of Mosca, Ilaria
> Sent: Thursday, March 30, 2006 4:02 AM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Graph bar and xlabel
> 
> Dear Statalisters:
> 
> I have generated a graph hbar with the following commands:
> 
> #delimit ;
> graph hbar hhi, over(regio,sort(hhi))
> 	ytitle("HHI")
> 	ylabel(,labsize(medium))
> 	xlabel(,labsize(third_tiny))
> 	;
> 
> Unfortunately I get the following error report:
> xlabels(,labsize(third_tiny)) not allowed, xaxis1 does not exist
> 
> My problem is that on the x-axis I have the name of companies and they
> overlap each other because the font used is too big. How can I tell
> Stata to reduce the font of the x-axis in a graph (h)bar?
> 



*
*   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–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index