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]

st: have different sizes of dots in scatter plot


From   tashi lama <[email protected]>
To   <[email protected]>
Subject   st: have different sizes of dots in scatter plot
Date   Tue, 28 Aug 2012 21:03:58 +0000

Hello all, 
   I see one posting related to this question. Nick Cox has answered but I am not sure if I understood. The previous posting is following

http://www.stata.com/statalist/archive/2006-06/msg00291.html

I have a dataset 
        doc_type   doc_publish   hitspedoc   hitsperdoc1 |
  |------------------------------------------------|
  | Company Note        1031   96.99321   46.96734 |
  | Industry Note       2345   9.808103    4.74941 |
  |      Earning        1234   36.46677   17.65843 |
  |  Hot Comment         567   37.03704         20 |
  |         SPARC       2900    26.2069   12.69025 |

I would like to draw to a scatter plot but would like to have different sizes of scatter based on the doc_publish

twoway scatter hitsperdoc1 hitsperdoc [fweight=doc_publish] =>gives varied scatter sizes but i would like to include mlabel
twoway scatter hitsperdoc1 hitsperdoc [fweight=doc_publish], mlabel(doc_type)  => gives mlabel but scatter sizes becomes same 

Does anyone provide me a link or some idea to be able to have both mlabel and get different scatter sizes? 

Thanks, 
Tashi  		 	   		  
*
*   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