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: Graphs display on a page


From   Sergiy Radyakin <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: Graphs display on a page
Date   Wed, 6 Nov 2013 11:29:37 -0500

Nick's suggestion #1 is probably something like this:

generate byte interesting=.......
twoway(scatter ave_price quote_date) if interesting, by(item_id)

where you replace .... with a selection condition for picking the 9
items you want to show (the biggest, the most recent, the ones used in
previous studies, the closest to headquarters, etc.) In the absence of
any rationale, this could simply be
generate byte interesting if item_id<=9

Best, Sergiy



On Wed, Nov 6, 2013 at 11:22 AM, Nick Cox <[email protected]> wrote:
> You choose:
>
> 1. Show 9 of the items.
>
> 2. Classify the items into 9 groups and plot them separately.
>
> for numbers about 9.
> Nick
> [email protected]
>
>
> On 6 November 2013 16:14, Tetsuji Tanaka <[email protected]> wrote:
>> Dear all,
>>
>> I am struggling for making some graphs on one page.
>> The command programmed is as follows.
>>
>> twoway(scatter ave_price quote_date), by(item_id)
>>
>> I know this is a right description to do that, but "item_id" has too
>> many items (around 2000) to display graphs.
>> So, I want to limit the number of it, let's say 9 (3x3).
>>
>> Could someone give me hints on how to do it?
>>
>> TJ
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/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/faqs/resources/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/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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