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, **statalist.org** is already up and running.

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

From |
Amal Khanolkar <Amal.Khanolkar@ki.se> |

To |
"statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |

Subject |
st: Order of colours in graphs |

Date |
Tue, 21 Aug 2012 13:04:54 +0000 |

Hi, I've been producing some graphs in stata. If one doesn't specify the colours, what is Stata's default in the order of colours used? I've been using the following code for my graphs, but I assume that the default order of colours is the same for all graphs: xi: regress bviktbs i.motherland*i.immigyr_cat sex byear i.magecat i.parity i.education i.famsit_new i.smoke1 i.gestht i.gestdt i.MBMI mlangd if multibirth==1, vce(robust) qui foreach x of var sex byear mlangd _Imagecat_2-_IMBMI_3 { sum `x', d replace `x' = r(p50) } predict p predict se, stdp tw (line p motherland if immigyr_cat==1, sort) (line p motherland if immigyr_cat==2, sort) (line p motherland if immigyr_cat==3, sort) (line p motherland if immigyr_cat==4, sort) (line p motherland if immigyr_cat==5, sort) (line p motherland if immigyr_cat==6, sort) Thanks, /Amal. * * 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/

**Follow-Ups**:**Re: st: Order of colours in graphs***From:*Nick Cox <njcoxstata@gmail.com>

- Prev by Date:
**Re: st: interpreting cofficient on interaction of two logged variables** - Next by Date:
**Re: st: Order of colours in graphs** - Previous by thread:
**st: interpreting cofficient on interaction of two logged variables** - Next by thread:
**Re: st: Order of colours in graphs** - Index(es):