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]

Re: st: xlabel for catplot


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: xlabel for catplot
Date   Tue, 22 Jan 2013 18:27:09 +0000

-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 <[email protected]> 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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index