Statalist The Stata Listserver


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

st: RE: Graph bar and xlabel


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Graph bar and xlabel
Date   Thu, 30 Mar 2006 11:30:16 +0100

This issue was discussed on the list only a few days ago.

In essence, you do not have what Stata regards as an x axis.

The presentation of the labels is to be tuned using
sub-options of -over()-.

This is all very well documented.

Please consider the advice given in the FAQ:

"Beginners' questions are usually indulged (we were all beginners
once), but if you ask too many elementary questions, you may get
little or no response. Read The Fine Manual ..."

... or in this case the on-line help.

Nick
n.j.cox@durham.ac.uk

Mosca, Ilaria

> 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