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]
RE: st: RE: RE: Graph dot labels
From
"Nick Cox" <[email protected]>
To
<[email protected]>
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
[email protected]
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 <[email protected]> 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
> [email protected]
>
> 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 <[email protected]> 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/