Announcement

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

  • Stata Graph - scheme burd not found

    Hi

    I am trying to use the following command to formate my Stata graph.


    grstyle init
    grstyle color background white
    grstyle anglestyle vertical_tick horizontal
    grstyle color ci_area gs12%50
    grstyle color ci_arealine gs12%0

    scatter y1 x1 || lfit y1 x1 , title("My Title") ytitle(Height for age) xtitle(Mean PM2.5) legend(off)


    I am getting the error message that grstyle is not found how to solve this please
    Last edited by Muhammad Ramzan; 04 Nov 2022, 00:07.

  • #2
    This graph scheme is not built into Stata, it is community-contributed. You can install it from SSC:
    Code:
    ssc install scheme-burd

    Comment


    • #3
      Also, the commands you showed do not ask Stata to use the burd scheme. Perhaps you set it earlier? Look at the output of
      Code:
      query graphics
      and you will probably see burd listed in front of set scheme. Maybe at some earlier point, you did something like
      Code:
      set scheme burd, permanently
      You can see what graph schemes are available on your current installation by typing
      Code:
      graph query, scheme
      If you want to switch it to something else, pick another scheme from that list and type
      Code:
      set scheme other_scheme_name
      to change it for the next graph, or add the permanently option to make it the default for all future graphs.

      Comment

      Working...
      X