Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Martin Weiss" <martin.weiss1@gmx.de> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | RE: st: RE: RE: Graph dot labels |
Date | Tue, 1 Jun 2010 23:01:53 +0200 |
<> I was guessing, sending the thing from my mobile phone while away from home base. Hence the "...I think". StataCorp, please give us a version of Stata for mobiles, so I can stop guessing... To Fred: Bitte schön! HTH Martin -----Original Message----- From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nick Cox Sent: Dienstag, 1. Juni 2010 22:57 To: statalist@hsphsun2.harvard.edu Subject: RE: st: RE: RE: Graph dot labels I am glad Martin read your code much more carefully than I did. Nick n.j.cox@durham.ac.uk Fred Wolfe Vielen Dank. That did it!! On Tue, Jun 1, 2010 at 2:59 PM, Martin Weiss <martin.weiss1@gmx.de> wrote: > <> > Look at the syntax diagram in the help file. -asis- needs to be in parantheses, i think. > > From: Fred Wolfe <fwolfe@arthritis-research.org> > > Alas ... > > . graph dot age - all ,ascat ylab(.5 [.1] 1) exclude0 schem(bw) > ytit(Concordance coefficient) xsize(4) ysize(5.3) asis > option asis not allowed > r(198); > > . graph dot age - all , ylab(.5 [.1] 1) exclude0 schem(bw) > ytit(Concordance coefficient) xsize(4) ysize(5.3) asis > option asis not allowed > r(198); > > > On Tue, Jun 1, 2010 at 2:24 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote: >> Quite so. >> >> Try using (asis) explicitly in the command then. (-graph dot- defaults >> to means; if your values are unique then it still flags means in the >> labels.) >> >> Nick >> n.j.cox@durham.ac.uk >> >> Fred Wolfe >> >> Nick: The variable have labels, but in the graph command they are >> displayed as "mean of ...", as in "mean of opioid" instead of "Opioid >> use", which is what I put in by hand. >> >> On Tue, Jun 1, 2010 at 1:40 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote: >> >>> Shouldn't these labels be variable labels in this case? In that case a >>> do file before the -graph- command will define them. >> >> Martin Weiss >> >>> Needless to ask, you know about the "recorder" and -play()- option for >>> the >>> graph editor? >> >> Fred Wolfe >> >>> I have made a graph using this command: >>> >>> graph dot age - all ,ascat ylab(.5 [.1] 1) exclude0 schem(bw) >>> ytit(Concordance coefficient) xsize(4) ysize(5.3) >>> >>> I then go in to the graph editor and edit "individual ticks and >>> labels," making my own labels. There are 35 labels. Later I discovered >>> I needed to add another variable to the graph. But when I do that I >>> lose all of the labels, and I have to start over with them by hand. >>> Does anyone know a way by which I can either "save" the labels I have >>> created or add them during the graph command? >> >> * * * 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/