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

st: seriesstyle


From   Friedrich Huebler <huebler@rocketmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: seriesstyle
Date   Mon, 7 Apr 2003 13:28:09 -0700 (PDT)

I am combining data for 28 countries in one graph like this:

scatter gpi_totl total if country=="Benin", msymbol(O) connect(l) ||
scatter gpi_totl total if country=="Bolivia", msymbol(O) connect(l)
||
[repeat same command for 26 other countries]

Stata returns the following message and draws the lines and data
points for countries 16 to 28 in the same color as country 1:

(note: seriesstyle p16 not found in scheme, default attributes used)
(note: seriesstyle p17 not found in scheme, default attributes used)
[message repeated for seriesstyles p18 to p28]

I found no documentation on seriesstyle in the Graphics manual or
with -findit-. I tried the following but it did not work:

scatter gpi_totl total if country=="Benin", msymbol(O) connect(l)
seriesstyle(p1)
option seriesstyle() not allowed
invalid syntax

How can I force Stata to use seriesstyle p1 for country 16,
seriesstyle p2 for country 17, and so on? I would like to rotate
colors and not repeat the same color again and again.

Thank you for your help.

Friedrich Huebler

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com
*
*   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