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 |
"Nick Cox" <n.j.cox@durham.ac.uk> |

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

Subject |
RE: st: RE: RE: Graph dot labels |

Date |
Tue, 1 Jun 2010 20:58:35 +0100 |

-reshape long- so that you have one variable and several categories. Or reach for -twoway- as e.g. in SJ-8-2 gr0034 . . . . . . . . . . Speaking Stata: Between tables and graphs (help labmask, seqvar if installed) . . . . . . . . . . . . N. J. Cox Q2/08 SJ 8(2):269--289 outlines techniques for producing table-like graphs Nick n.j.cox@durham.ac.uk Fred Wolfe 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/

**Follow-Ups**:**Re: st: RE: RE: Graph dot labels***From:*Fred Wolfe <fwolfe@arthritis-research.org>

**References**:**st: Graph dot labels***From:*Fred Wolfe <fwolfe@arthritis-research.org>

**st: RE: RE: Graph dot labels***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: RE: Graph dot labels***From:*Fred Wolfe <fwolfe@arthritis-research.org>

**RE: st: RE: RE: Graph dot labels***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

**Re: st: RE: RE: Graph dot labels***From:*Fred Wolfe <fwolfe@arthritis-research.org>

- Prev by Date:
**Re: st: RE: RE: Graph dot labels** - Next by Date:
**Re: st: RE: RE: eivreg and deming** - Previous by thread:
**Re: st: RE: RE: Graph dot labels** - Next by thread:
**Re: st: RE: RE: Graph dot labels** - Index(es):