Announcement

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

  • saving new scheme

    Hello!
    After some googeling on this one I figure I ask you guys: I have created a graph layout I like and would want to use for other ones. How do I save a new scheme to the list of available schemes in Stata?

  • #2
    Vince Wiggins has given a great talk about this at various Stata User Group meetings in 2006:

    Scheming your way to consistent graphs

    Vincent L. Wiggins
    StataCorp, College Station, TX
    Abstract
    If you find yourself repeatedly specifying the same options on graph commands, you should write a graphics scheme. A scheme is nothing more than a file containing a set of rules specifying how you want your graphs to look. From the size of fonts used in titles and the color of lines and markers in plots to the placement of legends and the number of default ticks on axes, almost everything about a graph is controlled by the rules in a graphics scheme. We will look at how to create your own graphics schemes and where to find out more about all the rules available in schemes. The first scheme we create will be only a few lines long, yet will produce graphs distinctly different from any existing scheme.
    Additional information
    vw_README.txt
    schemetalk.zip
    The quotation above is from http://www.stata.com/meeting/12uk/abstracts.html, but the materials can be downloaded from various other places too. Many users have created graph schemes other than the defaults that come with Stata; you might want to check them out first (on SSC or in Stata Journal). Among my favourites are
    lean1, lean2 (by Svend Juul)
    rbn{1|2|3|4}mono (by Roger Newson)
    scheme-tufte (by Ulrich Atz)
    And see also Billy Buchanan's great brewscheme on SSC (and Github).

    Comment


    • #3
      Great! Thanks Stephen!

      Comment


      • #4
        Fabian.Lenhard not sure what your scheme looks like, but my program brewscheme can automate the process for you and also provides tools you can use to check how the colors would be perceived by individuals with different forms of color sight impairments.

        Comment

        Working...
        X