Announcement

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

  • msymbol

    I'm quite new to state. I wanted to make the graph I created (which I'm also not sure of if its correct) "prettier".
    I used this commands:
    #delimit ;
    graph twoway scatter mean_polity2_91_07 statehist_pre1500 if europe!=1
    msymbol(oh) //
    mcolor(gray) // color of marker - colorstyle (see below)
    msize(1.5) // size of marker - markersizestyle
    scheme(s1mono) // Schemes determine the overall look of a graph - s1mono has a plain background
    name(graph1,replace); // save graph & allow to be overwritten
    #delimit cr

    But Stata tells me that symbol(oh) is invalid "invalid 'msymbol' r(198)"

    What did i do wrong?

    Thanks for your help!

  • #2
    You need a comma before msymbol(oh) Comments are fine, but this is what Stata should see:

    Code:
    graph twoway scatter mean_polity2_91_07 statehist_pre1500 if europe!=1,
    msymbol(oh)
    mcolor(gray)
    msize(1.5)
    scheme(s1mono)
    name(graph1,replace)

    Comment


    • #3
      Oh okay I overlooked that, now it works. Thank you so much !

      Comment

      Working...
      X