environment vs setting

environment

noun
  • The surroundings of, and influences on, a particular item of interest. 

  • The set of variables and their values in a namespace that an operating system associates with a process. 

  • All the elements that affect a system or its inputs and outputs. 

  • A particular political or social setting, arena or condition. 

  • The environment of a function at a point during the execution of a program is the set of identifiers in the function's scope and their bindings at that point. 

  • The natural world or ecosystem. 

  • The software and/or hardware existing on any particular computer system. 

setting

noun
  • The act of setting. 

  • The act of marking the position of game, as a setter does. 

  • The mounting of a play, etc., for the stage. 

  • The direction of a current of wind. 

  • A piece of metal in which a precious stone or gem is fixed to form a piece of jewelry. 

  • A piece of vocal or choral music composed for particular words (set to music). 

  • A level or placement that a knob or control is set to. 

  • The time, place and circumstance in which something (such as a story or picture) is set; context; scenario. 

  • Hunting with a setter. 

  • Something set in, or inserted. 

adj
  • that disappears below the horizon 

How often have the words environment and setting occurred in a corpus of books? (source: Google Ngram Viewer )