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 on April 23, and its replacement, is already up and running.

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

st: have different sizes of dots in scatter plot

From   tashi lama <>
To   <>
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

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? 

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index