    ! Do not edit this generated file.  Instead, check its consistency
    ! with the #defines in bindings/swig-support/plplotcapi.i using the
    ! (Unix) target "check_fortran_parameters".  If that target reports an
    ! inconsistency (via a cmp message) between the generated
    ! plplot_parameters.inc_compare file in the build tree and
    ! plplot_parameters.inc in the source tree, then copy
    ! plplot_parameters.inc_compare on top of plplot_parameters.inc and
    ! check in that result.

    integer, parameter :: PLESC_SET_RGB = 1 ! obsolete
    integer, parameter :: PLESC_ALLOC_NCOL = 2 ! obsolete
    integer, parameter :: PLESC_SET_LPB = 3 ! obsolete
    integer, parameter :: PLESC_EXPOSE = 4 ! handle window expose
    integer, parameter :: PLESC_RESIZE = 5 ! handle window resize
    integer, parameter :: PLESC_REDRAW = 6 ! handle window redraw
    integer, parameter :: PLESC_TEXT = 7 ! switch to text screen
    integer, parameter :: PLESC_GRAPH = 8 ! switch to graphics screen
    integer, parameter :: PLESC_FILL = 9 ! fill polygon
    integer, parameter :: PLESC_DI = 10 ! handle DI command
    integer, parameter :: PLESC_FLUSH = 11 ! flush output
    integer, parameter :: PLESC_EH = 12 ! handle Window events
    integer, parameter :: PLESC_GETC = 13 ! get cursor position
    integer, parameter :: PLESC_SWIN = 14 ! set window parameters
    integer, parameter :: PLESC_DOUBLEBUFFERING = 15 ! configure double buffering
    integer, parameter :: PLESC_XORMOD = 16 ! set xor mode
    integer, parameter :: PLESC_SET_COMPRESSION = 17 ! AFR: set compression
    integer, parameter :: PLESC_CLEAR = 18 ! RL: clear graphics region
    integer, parameter :: PLESC_DASH = 19 ! RL: draw dashed line
    integer, parameter :: PLESC_HAS_TEXT = 20 ! driver draws text
    integer, parameter :: PLESC_IMAGE = 21 ! handle image
    integer, parameter :: PLESC_IMAGEOPS = 22 ! plimage related operations
    integer, parameter :: PLESC_PL2DEVCOL = 23 ! convert PLColor to device color
    integer, parameter :: PLESC_DEV2PLCOL = 24 ! convert device color to PLColor
    integer, parameter :: PLESC_SETBGFG = 25 ! set BG, FG colors
    integer, parameter :: PLESC_DEVINIT = 26 ! alternate device initialization
    integer, parameter :: PLESC_GETBACKEND = 27 ! get used backend of (wxWidgets) driver - no longer used
    integer, parameter :: PLESC_BEGIN_TEXT = 28 ! get ready to draw a line of text
    integer, parameter :: PLESC_TEXT_CHAR = 29 ! render a character of text
    integer, parameter :: PLESC_CONTROL_CHAR = 30 ! handle a text control character (super/subscript, etc.)
    integer, parameter :: PLESC_END_TEXT = 31 ! finish a drawing a line of text
    integer, parameter :: PLESC_START_RASTERIZE = 32 ! start rasterized rendering
    integer, parameter :: PLESC_END_RASTERIZE = 33 ! end rasterized rendering
    integer, parameter :: PLESC_ARC = 34 ! render an arc
    integer, parameter :: PLESC_GRADIENT = 35 ! render a gradient
    integer, parameter :: PLESC_MODESET = 36 ! set drawing mode
    integer, parameter :: PLESC_MODEGET = 37 ! get drawing mode
    integer, parameter :: PLESC_FIXASPECT = 38 ! set or unset fixing the aspect ratio of the plot
    integer, parameter :: PLESC_IMPORT_BUFFER = 39 ! set the contents of the buffer to a specified byte string
    integer, parameter :: PLESC_APPEND_BUFFER = 40 ! append the given byte string to the buffer
    integer, parameter :: PLESC_FLUSH_REMAINING_BUFFER = 41 ! flush the remaining buffer e.g. after new data was appended
    integer, parameter :: PLTEXT_FONTCHANGE = 0 ! font change in the text stream
    integer, parameter :: PLTEXT_SUPERSCRIPT = 1 ! superscript in the text stream
    integer, parameter :: PLTEXT_SUBSCRIPT = 2 ! subscript in the text stream
    integer, parameter :: PLTEXT_BACKCHAR = 3 ! back-char in the text stream
    integer, parameter :: PLTEXT_OVERLINE = 4 ! toggle overline in the text stream
    integer, parameter :: PLTEXT_UNDERLINE = 5 ! toggle underline in the text stream
    integer, parameter :: ZEROW2B = 1
    integer, parameter :: ZEROW2D = 2
    integer, parameter :: ONEW2B = 3
    integer, parameter :: ONEW2D = 4
    integer, parameter :: PLSWIN_DEVICE = 1 ! device coordinates
    integer, parameter :: PLSWIN_WORLD = 2 ! world coordinates
    integer, parameter :: PL_X_AXIS = 1 ! The x-axis
    integer, parameter :: PL_Y_AXIS = 2 ! The y-axis
    integer, parameter :: PL_Z_AXIS = 3 ! The z-axis
    integer, parameter :: PL_OPT_ENABLED = 1 ! Obsolete
    integer, parameter :: PL_OPT_ARG = 2 ! Option has an argument
    integer, parameter :: PL_OPT_NODELETE = 4 ! Don't delete after processing
    integer, parameter :: PL_OPT_INVISIBLE = 8 ! Make invisible
    integer, parameter :: PL_OPT_DISABLED = 1*16 ! Processing is disabled
    integer, parameter :: PL_OPT_FUNC = 1*16*16 ! Call handler function
    integer, parameter :: PL_OPT_BOOL = 2*16*16 ! Set *var = 1
    integer, parameter :: PL_OPT_INT = 4*16*16 ! Set *var = atoi(optarg)
    integer, parameter :: PL_OPT_FLOAT = 8*16*16 ! Set *var = atof(optarg)
    integer, parameter :: PL_OPT_STRING = 1*16*16*16 ! Set var = optarg
    integer, parameter :: PL_PARSE_PARTIAL = 0 ! For backward compatibility
    integer, parameter :: PL_PARSE_FULL = 1 ! Process fully & exit if error
    integer, parameter :: PL_PARSE_QUIET = 2 ! Don't issue messages
    integer, parameter :: PL_PARSE_NODELETE = 4 ! Don't delete options after
    integer, parameter :: PL_PARSE_SHOWALL = 8 ! Show invisible options
    integer, parameter :: PL_PARSE_OVERRIDE = 1*16 ! Obsolete
    integer, parameter :: PL_PARSE_NOPROGRAM = 2*16 ! Program name NOT in *argv[0]..
    integer, parameter :: PL_PARSE_NODASH = 4*16 ! Set if leading dash NOT required
    integer, parameter :: PL_PARSE_SKIP = 8*16 ! Skip over unrecognized args
    integer, parameter :: PL_FCI_MARK = ishft(1,31)
    integer, parameter :: PL_FCI_IMPOSSIBLE = 0
    integer, parameter :: PL_FCI_HEXDIGIT_MASK = 15
    integer, parameter :: PL_FCI_HEXPOWER_MASK = 7
    integer, parameter :: PL_FCI_HEXPOWER_IMPOSSIBLE = 15
    integer, parameter :: PL_FCI_FAMILY = 0
    integer, parameter :: PL_FCI_STYLE = 1
    integer, parameter :: PL_FCI_WEIGHT = 2
    integer, parameter :: PL_FCI_SANS = 0
    integer, parameter :: PL_FCI_SERIF = 1
    integer, parameter :: PL_FCI_MONO = 2
    integer, parameter :: PL_FCI_SCRIPT = 3
    integer, parameter :: PL_FCI_SYMBOL = 4
    integer, parameter :: PL_FCI_UPRIGHT = 0
    integer, parameter :: PL_FCI_ITALIC = 1
    integer, parameter :: PL_FCI_OBLIQUE = 2
    integer, parameter :: PL_FCI_MEDIUM = 0
    integer, parameter :: PL_FCI_BOLD = 1
    integer, parameter :: PL_MAXKEY = 16
    integer, parameter :: PL_MASK_SHIFT = 1 ! ( 1 << 0 )
    integer, parameter :: PL_MASK_CAPS = 2 ! ( 1 << 1 )
    integer, parameter :: PL_MASK_CONTROL = 4 ! ( 1 << 2 )
    integer, parameter :: PL_MASK_ALT = 8 ! ( 1 << 3 )
    integer, parameter :: PL_MASK_NUM = 1*16 ! ( 1 << 4 )
    integer, parameter :: PL_MASK_ALTGR = 2*16 !  ( 1 << 5 )
    integer, parameter :: PL_MASK_WIN = 4*16 ! ( 1 << 6 )
    integer, parameter :: PL_MASK_SCROLL = 8*16 ! ( 1 << 7 )
    integer, parameter :: PL_MASK_BUTTON1 = 1*16*16 ! ( 1 << 8 )
    integer, parameter :: PL_MASK_BUTTON2 = 2*16*16 ! ( 1 << 9 )
    integer, parameter :: PL_MASK_BUTTON3 = 4*16*16 ! ( 1 << 10 )
    integer, parameter :: PL_MASK_BUTTON4 = 8*16*16 ! ( 1 << 11 )
    integer, parameter :: PL_MASK_BUTTON5 = 1*16*16*16 ! ( 1 << 12 )
    integer, parameter :: PL_MAXWINDOWS = 64 ! Max number of windows/page tracked
    real(kind=private_double), parameter :: PL_NOTSET = -42.0_private_double
    real(kind=private_double), parameter :: PL_PI = 3.1415926535897932384_private_double
    real(kind=private_double), parameter :: PL_TWOPI = 2.0_private_double*PL_PI
    integer, parameter :: PLESC_DOUBLEBUFFERING_ENABLE = 1
    integer, parameter :: PLESC_DOUBLEBUFFERING_DISABLE = 2
    integer, parameter :: PLESC_DOUBLEBUFFERING_QUERY = 3
    integer, parameter :: PL_BIN_DEFAULT = 0
    integer, parameter :: PL_BIN_CENTRED = 1
    integer, parameter :: PL_BIN_NOEXPAND = 2
    integer, parameter :: PL_BIN_NOEMPTY = 4
    integer, parameter :: GRID_CSA = 1 ! Bivariate Cubic Spline approximation
    integer, parameter :: GRID_DTLI = 2 ! Delaunay Triangulation Linear Interpolation
    integer, parameter :: GRID_NNI = 3 ! Natural Neighbors Interpolation
    integer, parameter :: GRID_NNIDW = 4 ! Nearest Neighbors Inverse Distance Weighted
    integer, parameter :: GRID_NNLI = 5 ! Nearest Neighbors Linear Interpolation
    integer, parameter :: GRID_NNAIDW = 6 ! Nearest Neighbors Around Inverse Distance Weighted
    integer, parameter :: PL_HIST_DEFAULT = 0
    integer, parameter :: PL_HIST_NOSCALING = 1
    integer, parameter :: PL_HIST_IGNORE_OUTLIERS = 2
    integer, parameter :: PL_HIST_NOEXPAND = 8
    integer, parameter :: PL_HIST_NOEMPTY = 1*16
    integer, parameter :: PL_POSITION_NULL = 0
    integer, parameter :: PL_POSITION_LEFT = 1
    integer, parameter :: PL_POSITION_RIGHT = 2
    integer, parameter :: PL_POSITION_TOP = 4
    integer, parameter :: PL_POSITION_BOTTOM = 8
    integer, parameter :: PL_POSITION_INSIDE = 1*16
    integer, parameter :: PL_POSITION_OUTSIDE = 2*16
    integer, parameter :: PL_POSITION_VIEWPORT = 4*16
    integer, parameter :: PL_POSITION_SUBPAGE = 8*16
    integer, parameter :: PL_LEGEND_NULL = 0
    integer, parameter :: PL_LEGEND_NONE = 1
    integer, parameter :: PL_LEGEND_COLOR_BOX = 2
    integer, parameter :: PL_LEGEND_LINE = 4
    integer, parameter :: PL_LEGEND_SYMBOL = 8
    integer, parameter :: PL_LEGEND_TEXT_LEFT = 1*16
    integer, parameter :: PL_LEGEND_BACKGROUND = 2*16
    integer, parameter :: PL_LEGEND_BOUNDING_BOX = 4*16
    integer, parameter :: PL_LEGEND_ROW_MAJOR = 8*16
    integer, parameter :: PL_COLORBAR_NULL = 0
    integer, parameter :: PL_COLORBAR_LABEL_LEFT = 1
    integer, parameter :: PL_COLORBAR_LABEL_RIGHT = 2
    integer, parameter :: PL_COLORBAR_LABEL_TOP = 4
    integer, parameter :: PL_COLORBAR_LABEL_BOTTOM = 8
    integer, parameter :: PL_COLORBAR_IMAGE = 1*16
    integer, parameter :: PL_COLORBAR_SHADE = 2*16
    integer, parameter :: PL_COLORBAR_GRADIENT = 4*16
    integer, parameter :: PL_COLORBAR_CAP_NONE = 8*16
    integer, parameter :: PL_COLORBAR_CAP_LOW = 1*16*16
    integer, parameter :: PL_COLORBAR_CAP_HIGH = 2*16*16
    integer, parameter :: PL_COLORBAR_SHADE_LABEL = 4*16*16
    integer, parameter :: PL_COLORBAR_ORIENT_RIGHT = 8*16*16
    integer, parameter :: PL_COLORBAR_ORIENT_TOP = 1*16*16*16
    integer, parameter :: PL_COLORBAR_ORIENT_LEFT = 2*16*16*16
    integer, parameter :: PL_COLORBAR_ORIENT_BOTTOM = 4*16*16*16
    integer, parameter :: PL_COLORBAR_BACKGROUND = 8*16*16*16
    integer, parameter :: PL_COLORBAR_BOUNDING_BOX = 1*16*16*16*16
    integer, parameter :: PL_DRAWMODE_UNKNOWN = 0
    integer, parameter :: PL_DRAWMODE_DEFAULT = 1
    integer, parameter :: PL_DRAWMODE_REPLACE = 2
    integer, parameter :: PL_DRAWMODE_XOR = 4
    integer, parameter :: DRAW_LINEX = 1 ! draw lines parallel to the X axis
    integer, parameter :: DRAW_LINEY = 2 ! draw lines parallel to the Y axis
    integer, parameter :: DRAW_LINEXY = 3 ! draw lines parallel to both the X and Y axis
    integer, parameter :: MAG_COLOR = 4 ! draw the mesh with a color dependent of the magnitude
    integer, parameter :: BASE_CONT = 8 ! draw contour plot at bottom xy plane
    integer, parameter :: TOP_CONT = 1*16 ! draw contour plot at top xy plane
    integer, parameter :: SURF_CONT = 2*16 ! draw contour plot at surface
    integer, parameter :: DRAW_SIDES = 4*16 ! draw sides
    integer, parameter :: FACETED = 8*16 ! draw outline for each square that makes up the surface
    integer, parameter :: MESH = 1*16*16 ! draw mesh
