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]

From |
"Kaulisch, Marc" <kaulisch@forschungsinfo.de> |

To |
<statalist@hsphsun2.harvard.edu> |

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

Date |
Sun, 6 Jun 2010 18:45:43 +0200 |

Martin, I got lost with this sentence in h graph hbar "The over_subopts -- used in over(varname, over_subopts) and, on rare occasion, in yvaroptions(over_subopts) -- are" I haven't interpreted it as oversubopts can stand alone. My Stata experience is not so good to grap the sense of a code in a minute... Marc -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Martin Weiss Gesendet: Sonntag, 6. Juni 2010 18:40 An: statalist@hsphsun2.harvard.edu Betreff: st: AW: AW: RE: RE: ssc catplot control of label of yaxis <> You need a certain level of experience to tell that there must be more to the command than meets the eye in its help file. The sentence in -h catplot- "graph_options refers to options of graph bar, graph hbar or graph dot as appropriate. by() is one useful example." tells you that it is worth investigating. At the same time, you know that Nick`s -program- is a derivative of an existing -graph- command, so you can -trace- the thing and see that it issues a call to a certain official command. Once you know that, you look at the code itself and determine how you can add options to that call... HTH Martin -----Ursprüngliche Nachricht----- Von: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Kaulisch, Marc Gesendet: Sonntag, 6. Juni 2010 18:36 An: statalist@hsphsun2.harvard.edu Betreff: st: AW: RE: RE: ssc catplot control of label of yaxis 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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Martin Weiss Gesendet: Sonntag, 6. Juni 2010 12:33 An: statalist@hsphsun2.harvard.edu 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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Martin Weiss Sent: Sonntag, 6. Juni 2010 11:39 To: statalist@hsphsun2.harvard.edu 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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Kaulisch, Marc Sent: Sonntag, 6. Juni 2010 11:24 To: statalist@hsphsun2.harvard.edu 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/ * * 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/

**Follow-Ups**:**st: RE: AW: AW: AW: RE: RE: ssc catplot control of label of yaxis***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**st: AW: AW: AW: AW: RE: RE: ssc catplot control of label of yaxis***From:*"Martin Weiss" <martin.weiss1@gmx.de>

- Prev by Date:
**st: AW: AW: RE: RE: ssc catplot control of label of yaxis** - Next by Date:
**Re: st: Estimating firm level data on regional level data using a within estimator.** - Previous by thread:
**st: AW: RE: AW: -ssc- commands** - Next by thread:
**st: AW: AW: AW: AW: RE: RE: ssc catplot control of label of yaxis** - Index(es):