Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • "By"- graphs in s1color scheme: how to change background color to white?

    Hello,

    I am doing scatterplots and bar charts with the by option. I want to use s1color, as I have other graphs, where I need colours to make them readable.

    But I dislike the yellow background color in the by option. Any idea how to change that in stata 12?

    Here is an example:

    Code:
    sysuse auto, clear
    scatter price mpg, by(foreign, note("")) msize(tiny) scheme(s1color)
    I also would appreciate if I could change the color of the dots, but that is okay. Thanks!


    Click image for larger version

Name:	Graph.png
Views:	3
Size:	104.2 KB
ID:	1360588
    Attached Files
    Last edited by Andrea Maier; 17 Oct 2016, 16:16. Reason: I uploaded a photo

  • #2
    mcolor() is standard for marker colour, just as you have msize().

    Otherwise the only colour evident to me here is the background of the subtitle. Does

    Code:
    scatter price mpg, by(foreign, note("")) msize(tiny) scheme(s1color) subtitle(, fcolor(white))
    point in the right direction?

    Comment


    • #3
      Yeah, that is truly right, exactly what I was searching for. Thank you very much.

      Comment

      Working...
      X