by CERN

Advanced graphical user interface for particle simulation programs
◀ Previous   △ Index   Next ▶

F5.2.4} Options

 CONFIGURATION
 ~~~~~~~~~~~~~

   set datafile commentschar ["{str:chars}"]
   set datafile separator [ "{str:char}" | whitespace ]
   set datafile missing ["{str:str}"]

   set decimalsign [ "{str:char}" | locale [ "{str:locale}" ] ]

   set encoding [ default | iso_8859_1 | iso_8859_2 | iso_8859_15
                | koi8r | koi8u | cp437 | cp850 | cp852 | cp1250 ]

   set fit [ logfile "{str:filename}" ] [ [no]errorvariables ]

   set fontpath [ "{str:path}" ]

   set loadpath [ "{str:path}" ]

   set macros

   set mouse


 MATH
 ~~~~

   set angles [ radians | degrees ]

   set dummy {varname1} [, {varname2} ]

   set mapping [ cartesian | cylindrical | spherical ]

   set parametric

   set polar

   set samples {int:samples1} [, {int:samples2} ]

   set zero {flt:smallvalue}


 APPEARANCE
 ~~~~~~~~~~

   set border [ {int:mask} ] [ front | back ]
              [ [ linewidth | lw {int:width} ]
              [ linetype    | lt {idx:type} ]
              | [ linestyle | ls {idx:style} ] ]

   set clip points
   set clip [ one | two ]

   set logscale [ {enum:axes} ] [ {flt:base} ]

   set bmargin  [ {int:margin} ]    # bottom margin
   set lmargin  [ {int:margin} ]    # left margin
   set tmargin  [ {int:margin} ]    # top margin
   set rmargin  [ {int:margin} ]    # right margin

   set multiplot [ title "{str:title}" ]
                 [ layout {int:rows},{int:cols}
                 [ rowsfirst | columnsfirst ]
                 [ downwards | upwards ]
                 [ scale {flt:xfactor}[,{flt:yfactor}] ]
                 [ offset {flt:xoff}[,{flt:yoff}] ] ]

   set offsets [ {flt:left} [, {flt:right}
               [, {flt:top} [, {flt:bottom}]]]]

   set origin {flt:x}, {flt:y}

   set size [ [no]square | ratio {flt:r} | noratio ]
            [ {flt:x} [,{flt:y}] ]


 DECORATIONS
 ~~~~~~~~~~~

   set arrow [{idx:tag}] [ from {pos:from} ][ [to|rto] {pos:to} ]
             [ [ arrowstyle | as {idx:style} ]
             | [ [ nohead | head | backhead | heads ]
             | [ size {flt:length} [,{flt:angle}]
               [,{flt:backangle}] ]
               [ filled | empty | nofilled ]
               [ front | back ]
               [ [ linetype | lt {idx:type} ]
               [ linewidth | lw {int:width} ]
               | [ linestyle | ls {idx:style} ] ]
               ]
             ]

   set key [ on|off ] [ default ]
           [ [ at {pos:position} ]
             | [ inside | lmargin | rmargin | tmargin | bmargin ] ]
           [ left | right | center ] [ top | bottom | center ]
           [ vertical | horizontal ] [ Left | Right ]
           [ [no]reverse ] [ [no]invert ]
           [ [no]autotitle [columnheader] ] [ [no]enhanced ]
           [ samplen {flt:len} ] [ spacing {flt:factor} ]
           [ title "{str:text}" ]
           [ width {int:chars} ] [ height {int:chars} ]
           [ [no]box [ [ linetype | lt {idx:type} ]
           [ linewidth | lw {int:width} ]
           | [ linestyle | ls {idx:style} ] ] ]

   set label [{idx:tag}] [ "{str:text}" ] [ at {pos:location} ]
             [  left | center | right ]
             [  rotate [ by {int:degrees} ] | norotate ]
             [  font "{str:name}[,{int:size}]" ]
             [  [no]enhanced ] [ front | back ]
             [  textcolor | tc [ {clr:colorspec}
                          | lt {idx:type}
                          | ls {idx:style} ] ]
             [ point   lt | pt {idx:pointtype}
                          | ps {idx:pointsize} | nopoint ]
             [ offset {pos:off} ]

   set object [{idx:tag}] rectangle [ from {pos:from} [to|rto] {pos:to}
              | center|at {pos:ctr}
                size {pos:extent} ]
              [ default ]
              [ front | back | behind ]
              [ fillcolor | fc {clr:color}  ]
              [ fillstyle | fs {idx:style}  ]
              [ linewidth | lw {flt:width}  ]

   set timestamp ["{str:format}"]
                  [ top | bottom ] [ [no]rotate ]
                  [ offset {pos:offset} ]
                  [ font "{str:name}[,{int:size}]" ]

   set title [ "{str:text}" ]
             [ font "{str:name}[,{int:size}]" ][ [no]enhanced ]
             [ textcolor | tc [ {clr:colorspec}
                         | lt {idx:type}
                         | ls {idx:style} ] ]
             [ offset {pos:off} ]


 STYLE
 ~~~~~

 A color specification begins with the keyword rgbcolor (or rgb for
 short), followed by a string, which can either be the name of a
 color known to gnuplot, or a hex string, preceded by a #
 character, giving the RGB components of the desired color.
        rgbcolor "{str:colorname}"
        rgbcolor "{#RRGGBB}"

   set style data {enum:style}
   set style function {enum:style}
   set style increment [ default | userstyles ]
   set style arrow {idx:index} default

   set style arrow {idx:index} [ nohead | head | backhead | heads ]
                   [ size {flt:length} [,{flt:angle}]
                   [,{flt:backangle}] ]
                   [ filled | empty | nofilled ]
                   [ front  | back ]
                   [ [ linetype  | lt {idx:type} ]
                     [ linewidth | lw {int:width} ]
                   | [ linestyle | ls {idx:style} ] ]

   set style fill [ empty | solid [{flt:density}] | pattern [{idx:n}] ]
                  [ border [ {idx:linetype} ] | noborder ]

   set style histogram [ clustered [ gap {flt:gap} ]
                       | errorbars [ gap {flt:gap} ]
                       [ linewidth | lw {int:width} ] ]
                       | rowstacked | columnstacked

   set style line {int:index} default
   set style line {int:index} [ [ linetype  | lt ] {idx:linetype} ]
                              [ [ linewidth | lw ] {flt:linewidth} ]
                              [ [ pointtype | pt ] {idx:pointtype} ]
                              [ [ pointsize | ps ] {flt:pointsize} ]
                              [ [ linecolor | lc ] {clr:colorspec} ]

   set style rectangle [ front | back | behind ]
                       [  fillcolor | fc {clr:color} ]
                       [  fillstyle | fs {idx:style} ]
                       [  linewidth | lw {flt:width} ]

   set bars [ small | large | fullwidth | {flt:mult} ]

   set boxwidth [ {flt:size} ] [ absolute | relative ]

   set pointsize {flt:mult}


 AXES
 ~~~~

    Several options related to axes exist in different forms, applicable to
    the different axes that may exist in a plot. The respective axis is
    referenced as part of the option name.

      Prefix    Applicable axis
      ~~~~~~    ~~~~~~~~~~~~~~~
        x       Primary x axis (bottom)
        y       Primary y axis (left)
       x2       Secondary x axis (top)
       y2       Secondary y axis (right)
        z       z axis
       cb       colorbox

   An underscore will replace all command references to axes

  set format [ x | y | x2 | y2 | xy | z | cb ] [ "{str:format}" ]

  set grid [ [no]_tics ] [ [no]m_tics ]
           [ layerdefault | front | back ]
           [ polar [ {flt:angle} ] ]
           [ [ linetype  | lt {idx:majortype} ]
             [ linewidth | lw {flt:majorwidth} ]
           | [ linestyle | ls {idx:majorstyle} ] ]
           [,[ linetype  | lt {idx:minortype} ]
             [ linewidth | lw {flt:minorwidth} ]
           | [ linestyle | ls {idx:minorstyle} ] ]

  set _label ["{str:text}"] [ offset {pos:offset} ]
             [ font "{str:name}[,{int:size}]" ]
             [ textcolor | tc [ {clr:color}
             | lt {idx:type}
             | ls {idx:style} ] ]
             [ [no]enhanced ]
             [ rotate by {int:degrees} ]

  set m_tics [ {int:intervals} | default ]

  set _range [{flt:min}:{flt:max}]    # With the [..] brackets!

  set _tics [  axis | border ]
            [  [no]mirror ]
            [  in | out ]
            [  scale [ default | {flt:major} [,{flt:minor}] ] ]
            [  [no]rotate [by {flt:ang}] ]
            [  offset {pos:offset} | nooffset ]
            [  font "{str:name} [,{int:size}]" ]
            [  textcolor | tc {clr:color} ]
            [ add ]
            [ autofreq
               | {flt:incr}
               | {flt:start}, {flt:incr} [,{flt:end}]
               | ( ["{str:label}"] {flt:pos} [ 0 | 1 ]
                [, ["{str:label}"] ... ] ) ]

  set _zeroaxis [ [ linetype  | lt {idx:type} ]
                  [ linewidth | lw {flt:width} ]
                | [ linestyle | ls {idx:style} ] ]


 THREE-DIMENSIONAL PLOTS
 ~~~~~~~~~~~~~~~~~~~~~~~

   set dgrid3d [ {int:nx} [, {int:ny} [, {int:q} ] ] ]

   set hidden3d [ offset {int:offset} ] [ trianglepattern {int:mask} ]

   set isosamples {int:xlines} [, {int:ylines} ]

   set surface

   set view [ {flt:polar} [, {flt:azimuthal}
            [, {flt:scale} [, {flt:z_scale} ]]]]

   set xyplane [ at {flt:zvalue} | {flt:frac} ]

   set clabel [ "{str:format}" ]

   set cntrparam [ linear | cubicspline | bspline ]
   set cntrparam [ points {int:q} ]
   set cntrparam [ order {int:q} ]
   set cntrparam levels [ auto [{int:n}]
                 | discrete {flt:z0} [, {flt:z1} [, ...]]
                 | incremental
                 {flt:start}, {flt:inc} [, {flt:end}] ]

   set contour [ base | surface | both ]
          -
   set colorbox [ vertical | horizontal ]
                [ noborder | bdefault | border {idx:linestyle} ]
                [ default | user [ origin {pos:orig} ]
                [ size {pos:size} ] ]

   set palette [ model [ RGB | HSV ] ]
               [ defined ( {flt:v1} {clr:color1},
                           {flt:v2} {clr:color2}, ... )
               | functions f1(gray), f2(gray), f3(gray)
               | file "{str:filename}" [ using ... ] ]
               [ positive | negative ]
               [ maxcolors {int:n} ]

   set pm3d [ at [b|s|t] ]
            [ implicit | explicit ]
            [ hidden3d {idx:linestyle} | nohidden3d ]
            [ interpolate {int:xsteps},{int:ysteps} ]
            [ corners2color
            [ mean|geomean|median|min|max|c1|c2|c3|c4 ] ]
            [ scansautomatic
            | scansforward | scansbackward | depthorder ]


 OUTPUT
 ~~~~~~
   set output [ "{str:filename}" ]

   set print [ "{str:filename}" ] [ append ]

   set table [ "{str:filename}" ]

   set termoption [no]enhanced
   set termoption font "{str:name} [, {int:size} ]"


◀ Previous   △ Index   Next ▶