Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: does anyone know how to specify more than onesymboltype in dotplots?


From   "Philip Bejon" <pbejon@kilifi.mimcom.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: does anyone know how to specify more than onesymboltype in dotplots?
Date   Wed, 03 Mar 2004 15:33:24 +0300

i want to display 2 different groups with 10 observations in each group, but with 4 timepoints for each group. (ie 2x4=8 categories, but clustered by timepoint). With such small numbers it is better to eyeball the raw data rather than rely on boxplots, but if all the symbols are the same it is confusing to follow a single group across timepoints.

so i want something like


      *                                          ++++++
    ***                                       +++++++    
********                                      +++  
     **                       +++++++++++++++++++
      *                                             ++++
                                                      +++ 

(ie using center option) - but repeated 4 times across for the different timepoints.

Thanks for the attention.

Regards,

Philip


>>> "Nick Cox" <n.j.cox@durham.ac.uk> 03/03/04 03:24pm >>>
It having been established that you can't do this with -dotplot-, 
can you be more precise on what you want (and indeed why 
you want it)? 

Do you want to able to do this 

*                  ++++++
***                +++++++    
********           +++  
**                 +++++++++++++++++++
*                  ++++
                   +++ 

i.e. two or more symbols for two or more distinct 
groups 

or do you want to be able to do this

*++++++
***+++++++    
********+++  
**+++++++++++++++++++
*++++
+++ 

i.e. two or more symbols within a group? 

Nick 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Philip Bejon
> Sent: 03 March 2004 12:13
> To: statalist@hsphsun2.harvard.edu; kohler@wz-berlin.de 
> Subject: Re: st: does anyone know how to specify more than one
> symboltype in dotplots?
> 
> 
> Thank you for trying - but graph dot is actually quite 
> different from dotplot.
> 
> Regards,
> 
> Philip
> 
> >>> Ulrich Kohler <kohler@wz-berlin.de> 03/02/04 06:55pm >>>
> Philip Bejon wrote:
> > does anyone know how to specify more than one symbol type 
> in dotplots?
> 
> I once did the following which seems to be similar to what 
> you need. This 
> plots the frequencies of Satisfaction with health care system 
> for 28 European 
> Countries, where I used differemt symbols for Eastern 
> European and Western 
> European Countries. 
> 
> . separate f, by(west)
> . graph dot (asis) f1 f2, over(counrty) ///
>   marker(1, ms(O) mfcolor(black) mlcolor(black))  ///
>   marker(2, ms(O) mfcolor(white) mlcolor(black)) ///
>   legend(order(1 2) label(1 "Candidates") label(2 "EU-Members")) ///
>   title("Satisfaction with health care system", span) nofill ///
>   exclude0 subtitle("Percent")
> 
> 

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html 
*   http://www.stata.com/support/statalist/faq 
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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   |   What's new   |   Site index