Announcement

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

  • Graph title: Change the colour of single word

    Hi everyone,
    this was asked bevor, but maybe something changed in the meantime?
    Thanks!
    Johannes




  • #2
    I fail to see the usefulness of this request. The linked thread makes the point that you should consider other methods of highlighting a segment of the title, e.g., using bold or italic fonts. The title is one entity, so you cannot specify different options for it. However, a workaround could be to use the -text()- option of graph or twoway scatteri repeatedly.


    Code:
    twoway (function y=x^2) (scatteri 1.2 .4 "Hello", ms(none) mlabc(red) mlabsize(large)) ///
    (scatteri 1.2 .51 "World", ms(none) mlabc(blue) mlabsize(large)), ///
    leg(off) ylab(0 .5 1) graphregion(color(white))
    Click image for larger version

Name:	Graph.png
Views:	1
Size:	24.0 KB
ID:	1703045

    Comment

    Working...
    X