-catplot- is from SSC. Please remember to explain where user-written
programs you refer to come from.
This illustrates some technique:
sysuse auto, clear
catplot rep78, recast(bar) var1opts(label(ang(45)))
Still better: use horizontal bars
catplot rep78
Nick
On Tue, Jan 22, 2013 at 6:17 PM, nola l <nola0908@gmail.com> wrote:
> I tried -catplot- to make bar graphs and would like to have xlabel to
> be shown at 45 degree angle.
>
> I used the command:
>
> catplot ControlLife, recast(bar) xlabel(,angle(45))
>
> and got error message: xlabels(,angle(45)) not allowed, xaxis1 does not exist
>
> Is there a way to show xlabel in 45 degree?
*
* 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/