20% off Stata Gift Shop purchases through 16 December. Use code GIFT20.
|Title||Stata 6: Changing graph colors in Stata for Unix|
|Author||Alan Riley, StataCorp|
You can set the pdXcolor environment variable. See the [GSU] pd-Pipeline drivers for a complete description.
If pdXcolor is not set, it is equivalent to containing
"black, cadet blue, yellow, white, coral, green, plum, cyan, slate blue, grey".
The first color is the background color, and the remaining colors correspond to pens 1 through 9 (see [G] pens for more information on pens).
There is also a FAQ describing the other environment variables recognized by Stata for Unix.
Classroom and web training
Teaching with Stata
Statalist: The Stata Forum
Last updated: 16 November 2022
StataCorp LLC (StataCorp) strives to provide our users with exceptional products and services. To do so, we must collect personal information from you. This information is necessary to conduct business with our existing and potential customers. We collect and use this information only where we may legally do so. This policy explains what personal information we collect, how we use it, and what rights you have to that information.
These cookies are essential for our website to function and do not store any personally identifiable information. These cookies cannot be disabled.
Please note: Clearing your browser cookies at any time will undo preferences saved here. The option selected here will apply only to the device you are currently using.