Announcement

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

  • Changing the color of one word in a graph title

    hello everybody,
    I would like to produce a graph for a presentation where just a single word in the subtitle has a different color, say red, while the other words remain in black.

    I guess it can be made using something like the special characters insertion, but I haven't found the way to do that.
    I'm using Stata 13.1

    thanks

  • #2
    I don't see a way to change the color of a single word in a title, but you can use a variety of other ways to set off single words. See help graph text

    Code:
    twoway function y=x^2 , subtitle({bf:Hello} {it:World} {fontface gigi:Hello} {fontface Arial:World})
    Stata/MP 14.1 (64-bit x86-64)
    Revision 19 May 2016
    Win 8.1

    Comment


    • #3
      The help file for SMCL (http://www.stata.com/manuals13/psmcl.pdf) says {input}, {error}, {result}, and {text} "are often rendered as color" in the Results window. But unfortunately, that doesn't seem to work with graphs.

      Comment

      Working...
      X