Bookmark and Share

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: Transposing dotplot (changing axes)


From   Fredrik Norström <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: Transposing dotplot (changing axes)
Date   Tue, 30 Aug 2011 11:48:23 +0200

Thanks for responses.

I have multiple observations at time points, e.g. three persons who are in oldest age group with 10 years difference. By default I only get one point when I want three points. How do I solve this? Dotplot automatically gives three horizontal points when multiples. I would like to have three vertical dots to show that I got three multiple observations. As far I understand will width and stack only compress to one observation and not extend to three observations or I understand things incorrectly?

Fredrik

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: den 30 augusti 2011 11:36
To: [email protected]
Subject: Re: st: Transposing dotplot (changing axes)

Maarten is correct. You can use -stripplot- to get horizontal
analogues of -dotplot-. The horizontal comes by default; you will need
to spell out -stack- and you may need to control bin width using
-width()-.

Nick

On Tue, Aug 30, 2011 at 10:09 AM, Maarten Buis <[email protected]> wrote:
> On Tue, Aug 30, 2011 at 11:01 AM, Fredrik Norström
> <[email protected]> wrote:
>> I have done a dotplot (dotplot yeardifference, over(agegroups) center) where I have agegroups and for each displayed difference in years between two disease diagnoses. My dotplot shows years on y-axes. I want to have that on x-axis, i.e. I want to transpose my dotplot. Is it possible to do that or can I generate a different stata graph so that I get my dotplots horizontally instead of vertically?
>
> That should be possible with Nick Cox's -stripplot-, which you can get
> by typing in Stata -ssc install stripplot-.
>

*
*   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index