Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: ssc catplot control of label of yaxis


From   "Kaulisch, Marc" <kaulisch@forschungsinfo.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: ssc catplot control of label of yaxis
Date   Sun, 6 Jun 2010 11:24:03 +0200

Nick,
 
I might be again missing some features or am not carefully enough
reading the help files, but I have problems to control labels of the
y-axis when I use catplot (ssc) (I would like to avoid to use the graph
editor...). I tried several options but I cannot get a solution (besides
using the graph editor).
 
My code looks like:
sysuse auto
catplot hbar rep78 foreign, percent(foreign) stack asyvars
ylabel(,labsize(vsmall)) legend(span rows(1))
 
ylabel controls the x-axis labels; but if xlabel spcified:
xlabels(,labsize(vsmall)) not allowed, xaxis1 does not exist

The yvar-option does not work either:
catplot hbar rep78 foreign, percent(foreign) stack asyvars
ylabel(,labsize(vsmall)) legend(span rows(1)) yvar(label(labs(vsmall)))

Thanks for your help again.


Marc

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index