Announcement

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

  • Scheme economist

    Code:
    set scheme economist
    for graphs puts the y axis and its label on the right hand side of the graph. Is there a way to put them on the left hand side? So everything stays the same except the position of the y axis and its label.

  • #2
    Answer: specify yscale(alt) in the options of the graph.

    Comment


    • #3
      If you want to use this style often and you don't want to type that option all the time, then you can create a new scheme which is just a copy of the economist but with the y-axis on the left. To do that you create a new file with the following two lines:

      Code:
      #include economist
      yesno alt_yaxes no
      Say you want to call this new style economistleft, then you save it as scheme-economistleft.scheme at a place where Stata can find it, see help sysdir .

      For more on creating your own schemes see help scheme files and this talk by Vince Wiggins at the 2006 UK Stata Users' Group meeting: https://www.stata.com/meeting/12uk/a...s.html#wiggins
      Last edited by Maarten Buis; 10 Nov 2020, 03:13.
      ---------------------------------
      Maarten L. Buis
      University of Konstanz
      Department of history and sociology
      box 40
      78457 Konstanz
      Germany
      http://www.maartenbuis.nl
      ---------------------------------

      Comment

      Working...
      X