Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: RE: Graph dot labels


From   Fred Wolfe <fwolfe@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: RE: Graph dot labels
Date   Tue, 1 Jun 2010 15:05:25 -0500

Thanks.

On Tue, Jun 1, 2010 at 2:58 PM, Nick Cox <n.j.cox@durham.ac.uk> wrote:
> -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/
>



-- 
Fred Wolfe
National Data Bank for Rheumatic Diseases
Wichita, Kansas
NDB Office  +1 316 263 2125 Ext 0
Research Office +1 316 686 9195
fwolfe@arthritis-research.org

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