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]

st: AW: RE: RE: ssc catplot control of label of yaxis


From   "Kaulisch, Marc" <[email protected]>
To   <[email protected]>
Subject   st: AW: RE: RE: ssc catplot control of label of yaxis
Date   Sun, 6 Jun 2010 18:35:35 +0200

Martin,

Thanks a lot. Somehow I haven't seen the tree in the forest... I haven't thought that oversubopts can be used as an option on its own...

Every day some more knowledge...and Stata experience...

Marc

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Martin Weiss
Gesendet: Sonntag, 6. Juni 2010 12:33
An: [email protected]
Betreff: st: RE: RE: ssc catplot control of label of yaxis


<>

Marc may also want to take a look at NJC`s statement here:
http://www.stata.com/statalist/archive/2009-07/msg00974.html



HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Sonntag, 6. Juni 2010 11:39
To: [email protected]
Subject: st: RE: ssc catplot control of label of yaxis


<>

You can pass -undocumented- "oversubopts" to -ssc d catplot-, though:


***********
sysuse auto, clear
catplot hbar rep78 foreign, percent(foreign) ///  stack asyvars ylabel(,labsize(vsmall)) ///  legend(span rows(1)) oversubopts(label(labsize(small)))
***********


HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Kaulisch, Marc
Sent: Sonntag, 6. Juni 2010 11:24
To: [email protected]
Subject: st: ssc catplot control of label of yaxis

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/

*
*   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/

*
*   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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index