## -*- config -*-
###########################################################################
## This configuration file is for Demeter version 0.9.21.
##
##                     Demeter is copyright (c) 2007-2015 Bruce Ravel
##                                   http://bruceravel.github.io/home
##
##                   Ifeffit is copyright (c) 1992-2015 Matt Newville
##                                https://github.com/newville/ifeffit
##
##	  The latest version of Demeter can always be found at
##               http://bruceravel.github.io/demeter/
##
## -------------------------------------------------------------------
##     All rights reserved. This program is free software; you can
##     redistribute it and/or modify it provided that the above notice
##     of copyright, these terms of use, and the disclaimer of
##     warranty below appear in the source code and documentation, and
##     that none of the names of Argonne National Laboratory, The
##     University of Chicago, University of Washington, or the authors
##     appear in advertising or endorsement of works derived from this
##     software without specific prior written permission from all
##     parties.
##
##     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
##     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
##     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
##     NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
##     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
##     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
##     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
##     OTHER DEALINGS IN THIS SOFTWARE.
## -------------------------------------------------------------------
###########################################################################


## This file contains gnuplot configuration group for Demeter


######################################################################
section=gnuplot
section_description
  These variables determine how plotting configuration is modified by
  the gnuplot plotting backend. Colors can be gnuplot named colors (in
  a gnuplot session type "show palette colornames" to see gnuplot's
  named colors, or hexadecimal triplets (i.e. "#0000FF" for blue and
  so on).  For details about gnuplot syntax, see
  http://gnuplot.info/docs/gnuplot.html

variable=program
type=string
default=gnuplot
windows=__PERL_BASE__\c\bin\gnuplot\bin\gnuplot.exe
description
  This is the name of the gnuplot executable.  In the Strawberry Perl
  Plus Demeter package, the default windows value should not be
  changed.  On other windows installations, the installation location
  might be something like C:\gnuplot\binary.  A gnuplot executable
  with pipes support is likely the one that you want to use.

variable=persist
type=boolean
default=false
onvalue=1
offvalue=0
description
  When true, the gnuplot window will persist after the application
  exits.

variable=terminal
type=string
default=x11
windows=wxt
description
  This is the terminal type to use when plotting with gnuplot.  While
  X11 is a safe default, the wxt terminal is highly recommended and
  is the default on Windows.  Installing the latest version of Gnuplot
  is recommended on any platform.

variable=termparams
type=string
default=enhanced dashed
description
  Use this to specify parameters of the terminal type.  Be sure to
  follow gnuplot's syntax -- Demeter does no error checking on the
  value of this parameter.

variable=pdfparams
type=string
default=linewidth 3 size 8,4.5
windows=linewidth 1 size 8,4.5
description
  Use this to specify additional parameters of the PDF terminal type.
  This is appended to the termparams when saving a recent plot to a
  PDF file.  Be sure to follow gnuplot's syntax -- Demeter does no
  error checking on the value of this parameter.


variable=font
type=font
default=Arial
description
  This is the font family to use in gnuplot plots.  Please note that
  the size of the font is set using the gnupot->fontsize parameter.

variable=fontsize
type=positive integer
default=11
minint=8
maxint=100
description
  This is the font size to use by default in gnuplot plots.  Set the
  font family using the gnuplot->font parameter.

variable=keylocation
type=string
default=top right
description
  Use this to set the location of the legend.  Be sure to follow
  gnuplot's syntax -- Demeter does no error checking on the value of
  this parameter. This should be one of "top right", "top left",
  "bottom right", or "bottom left".

variable=keyparams
type=string
default=width 1 height 1 box lw 1
description
  Use this to set the parameters of the legend.  Be sure to follow
  gnuplot's syntax -- Demeter does no error checking on the value of
  this parameter.

variable=linewidth
type=positive integer
default=1
minint=1
maxint=4
description
  This is the line width to use by default in gnuplot plots.

variable=bg
type=color
default=white
description
  The background color of the plot.

variable=fg
type=color
default=black
description
  The color used to draw the text and the axes of the plot.

variable=gridcolor
type=color
default=#cccccc
description
  The color of the grid drawn on each plot.  If you do not want a
  grid to be drawn, unset the showgrid parameter or set gridcolor to
  the bg color.

variable=col0
type=color
default=blue
description
  The color of the first line drawn in a plot.

variable=col1
type=color
default=red
description
  The color of the second line drawn in a plot.

variable=col2
type=color
default=dark-green
description
  The color of the third line drawn in a plot.

variable=col3
type=color
default=dark-violet
description
  The color of the fourth line drawn in a plot.

variable=col4
type=color
default=yellow4
description
  The color of the fifth line drawn in a plot.

variable=col5
type=color
default=brown
description
  The color of the sixth line drawn in a plot.

variable=col6
type=color
default=dark-pink
description
  The color of the seventh line drawn in a plot.

variable=col7
type=color
default=gold
description
  The color of the eighth line drawn in a plot.

variable=col8
type=color
default=dark-cyan
description
  The color of the ninth line drawn in a plot.

variable=col9
type=color
default=spring-green
description
  The color of the tenth line drawn in a plot.

variable=markersymbol
type=positive integer
default=305
minint=40
maxint=376
description
  The index of the symbol used as the marker in plots.  An example is
  the symbol which marks E0 in a plot of mu(E) and its background.
  The available symbols are the ones from the "S" column at
  http://cars9.uchicago.edu/ifeffit/Demeter/GnuplotSymbols Some good
  choices include 250, 264, 267, 304, and 305.

variable=markercolor
type=color
default=#EE9A00
description
  The color of a marker.

variable=indicatorcolor
type=color
default=#8F3910
description
  The color of an indicator.

variable=datastyle
type=list
default=lines
options=lines points linespoints
description
  The line style used to plot data after a fit.  Demeter does not
  provide complete control over gnuplot lines styles via its
  configuration system.

variable=fitstyle
type=list
default=lines
options=lines points linespoints
description
  The line style used to plot the fit after a fit.  Demeter does not
  provide complete control over gnuplot lines styles via its
  configuration system.  NOT CURRENTLY USED!

variable=partstyle
type=list
default=lines
options=lines points linespoints
description
  The line style used to plot parts of a fit (i.e. the window, the
  residual, or the background).  Demeter does not provide complete
  control over gnuplot lines styles via its configuration system.
  NOT CURRENTLY USED!

variable=pathstyle
type=list
default=lines
options=lines points linespoints
description
  The line style used to plot paths used in a fit.  Demeter does not
  provide complete control over gnuplot lines styles via its
  configuration system.  NOT CURRENTLY USED!

variable=pluck_timeout
type=positive integer
default=10
minint=3
maxint=60
units=seconds
description
  This indicates how long, in seconds, a GUI should wait for the user
  to double click a plucked point in the Gnuplot window before giving
  up and returning control to the GUI.

variable=xkcd
type=boolean
default=false
onvalue=1
offvalue=0
description
  When true, plots will be made in the gnuplot style.  Set
  gnuplot->font to Humor Sans for maximum xkcd-ness.

