home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / x / xprism.zip / xprism / src / xprism3 / xprism3.h < prev   
C/C++ Source or Header  |  1992-09-30  |  19KB  |  552 lines

  1.  /*
  2.   * Khoros: $Id: xprism3.h,v 1.1 1991/05/10 15:59:48 khoros Exp $
  3.   */
  4.  
  5.  /*
  6.   * $Log: xprism3.h,v $
  7.  * Revision 1.1  1991/05/10  15:59:48  khoros
  8.  * Initial revision
  9.  *
  10.   */ 
  11.  
  12.  
  13. /*
  14.  *----------------------------------------------------------------------
  15.  *
  16.  * Copyright 1990, University of New Mexico.  All rights reserved.
  17.  
  18.  * Permission to copy and modify this software and its documen-
  19.  * tation only for internal use in your organization is hereby
  20.  * granted, provided that this notice is retained thereon and
  21.  * on all copies.  UNM makes no representations as too the sui-
  22.  * tability and operability of this software for any purpose.
  23.  * It is provided "as is" without express or implied warranty.
  24.  * 
  25.  * UNM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
  26.  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FIT-
  27.  * NESS.  IN NO EVENT SHALL UNM BE LIABLE FOR ANY SPECIAL,
  28.  * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY OTHER DAMAGES WHAT-
  29.  * SOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
  30.  * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
  31.  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PER-
  32.  * FORMANCE OF THIS SOFTWARE.
  33.  * 
  34.  * No other rights, including for example, the right to redis-
  35.  * tribute this software and its documentation or the right to
  36.  * prepare derivative works, are granted unless specifically
  37.  * provided in a separate license agreement.
  38.  *---------------------------------------------------------------------
  39.  */
  40.  
  41. /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  42.    >>>>                                                       <<<<
  43.    >>>>        file name: xprism3.h
  44.    >>>>                        
  45.    >>>>   description: xprism3 defines and structures
  46.    >>>>               
  47.    >>>>                                                       <<<<
  48.    >>>>>>>>>>>>>>>>>>>>>>>>>>>>> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
  49.  
  50. #ifndef _xprism3_h_
  51. #define _xprism3_h_
  52.  
  53. #include    "unmcopyright.h"      /* Copyright 1990 by UNM */
  54. #include     "xprism.h"
  55. #include    "form_info.h"
  56.  
  57. char    **av,        /* argv and argc used by gparams */
  58.     *program,     /* a pointer to the program name argv[0] */
  59.     *calloc();
  60.  
  61. int     ac;
  62.  
  63. /************************************************************************
  64.  *                                    *
  65.  *            Xprism3 Args Structure                 *
  66.  *                                    *
  67.  *                                    *
  68.  ************************************************************************/
  69.  
  70. #define PRINTEROUT_HEIGHT        7.0
  71. #define PRINTEROUT_WIDTH        7.0
  72. #define PRINTEROUT_XOFFSET        1.0
  73. #define PRINTEROUT_YOFFSET        3.0
  74.  
  75. #define PRINTEROUT_OFFSET_MIN        0.0
  76. #define PRINTEROUT_OFFSET_MAX        8.0
  77. #define PRINTEROUT_HEIGHT_MIN        1.0
  78. #define PRINTEROUT_HEIGHT_MAX        17.0
  79. #define PRINTEROUT_WIDTH_MIN        1.0
  80. #define PRINTEROUT_WIDTH_MAX        11.0
  81.  
  82. #define MAX_AREAS            1
  83. #define MAX_PLOTS            20
  84.  
  85. #define VECTOR_OUTPUT            1
  86. #define RASTER_OUTPUT            2
  87.  
  88. #define FLUSH_PRINTEROUTPUT        TRUE
  89. #define INVERT_PRINTEROUTPUT        TRUE
  90. #define LANDSCAPE_PRINTEROUTPUT        FALSE
  91. #define MONO_PRINTEROUTPUT        TRUE
  92.  
  93. #define MIN_PLOT_TYPE            0
  94. #define MAX_PLOT_TYPE            PLOT_COLORMESH
  95. #define MIN_LINE_TYPE            SOLID
  96. #define MAX_LINE_TYPE            ODD_DASHED
  97. #define MIN_MARKER_TYPE            NO_MARKER
  98. #define MAX_MARKER_TYPE            BOX
  99. #define MIN_COLOR_TYPE            WHITE
  100. #define MAX_COLOR_TYPE            SIENNA
  101. #define MIN_FONT_TYPE            0
  102. #define MAX_FONT_TYPE            6
  103. #define MIN_DATA_FORMAT            1
  104. #define MAX_DATA_FORMAT            2
  105. #define MIN_DATA_TYPE            1
  106. #define MAX_DATA_TYPE            4
  107. #define MIN_MACHINE_TYPE        0
  108. #define MAX_MACHINE_TYPE        NUMBER_MACHINES - 1
  109. #define MIN_TICS            0
  110. #define MAX_TICS            20
  111.  
  112. #define XPRISM3_FORM            "$KHOROS_HOME/repos/xprism/xprism3.form"
  113. #define INDIR                "./"
  114. #define OUTDIR                "./"
  115.  
  116. typedef struct _xp3_plot_info {
  117.  
  118.   char    *i_file;        /* input file STRING */
  119.   char    *func_str;        /* function STRING */
  120.   char    *legend_str;        /* legend string STRING */
  121.   int    plot_type;        /* plot type INT */
  122.   int    marker_type;        /* marker type INT */
  123.   int    line_type;        /* line type INT */
  124.   int    plot_color;        /* color for plot INT */
  125.  
  126.   int    whichband;        /* band number to plot if multiband viff */
  127.   int    cmplx;             /* complex type to plot if complex */
  128.   int   rows;            /* number of rows */
  129.  
  130.   int    xstep_size;        /* step size FLOAT*/
  131.   int    xbegin_point;        /* point to begin plotting INT */
  132.   int    xend_point;        /* point to end plotting INT */
  133.  
  134.   int    ystep_size;        /* step size FLOAT*/
  135.   int    ybegin_point;        /* point to begin plotting INT */
  136.   int    yend_point;        /* point to end plotting INT */
  137.  
  138.   int    data_format;        /* Z or XYZ data is to be plotted INT */
  139.   int    data_type;        /* byte, short, integer, or float data INT */
  140.   int    machine_type;        /* the machine the data was created on INT */
  141.   int    active;            /* Is the plot drawn? LOGIC */
  142.  
  143.   char    *func_xmin;        /* function xmin FLOAT */
  144.   char    *func_xmax;        /* function xmax FLOAT */
  145.   char    *func_xptnum;        /* #points to be evaluated in function INT*/
  146.  
  147.   char    *func_ymin;        /* function xmin FLOAT */
  148.   char    *func_ymax;        /* function xmax FLOAT */
  149.   char    *func_yptnum;        /* #points to be evaluated in function INT*/
  150.  
  151. } xp3_plot_info_struct;
  152.  
  153. /*
  154.    This structure contains all the information about the plot area, i.e. default
  155.    values for that plot area and the structure that contains the information
  156.    about each plot in that area.
  157. */
  158.  
  159. typedef struct _xp3_area_info {
  160.  
  161.   char    *title;            /* plot title STRING */
  162.   char    *xaxis;            /* x-axis label STRING */
  163.   char    *yaxis;            /* y-axis label STRING */
  164.   char    *zaxis;            /* z-axis label STRING */
  165.  
  166.   int    xaxis_font;        /* font for xaxis INT */
  167.   int    yaxis_font;        /* font for yaxis INT */
  168.   int    zaxis_font;        /* font for zaxis INT */
  169.   int    numbers_font;        /* font for numbers INT */
  170.   int    legend_font;        /* font for legend INT */
  171.   int    title_font;        /* font for title INT */
  172.  
  173.   int    plot_type;        /* plot type INT */
  174.   int    marker_type;        /* marker type INT */
  175.   int    line_type;        /* line type INT */
  176.  
  177.   int    whichband;        /* band number to plot if multiband viff */
  178.   int    cmplx;             /* complex type to plot if complex */
  179.   int   rows;            /* number of rows */
  180.  
  181.   int    plot_color;        /* color for plot INT */
  182.   int    color;            /* default color for parameters below INT */
  183.   int    title_color;        /* color for title INT */
  184.   int    xaxis_label_color;    /* color for x-axis label INT */
  185.   int    yaxis_label_color;    /* color for y-axis labeI INT */
  186.   int    zaxis_label_color;    /* color for z-axis labeI INT */
  187.   int    xaxis_color;        /* color for x-axis INT */
  188.   int    yaxis_color;        /* color for y-axis INT */
  189.   int    zaxis_color;        /* color for z-axis INT */
  190.   int    num_xaxis_color;    /* color for x-axis numerical labels INT */
  191.   int    num_yaxis_color;    /* color for y-axis numerical labels INT */
  192.   int    num_zaxis_color;    /* color for z-axis numerical labels INT */
  193.   int    grid_color;        /* default color for grid INT */
  194.   int    legend_color;        /* color for legend INT */
  195.  
  196.   int    legend;            /* legend on or off? LOGIC */
  197.   int    box;            /* box on or off? LOGIC */
  198.   int    numerical_labels;    /* numerical labels on or off? LOGIC */
  199.   int    axes;            /* axes on or off? LOGIC */
  200.   int    grid;            /* grid on or off? LOGIC */
  201.   int    auto_scale;        /* use auto scale true or false? LOGIC */
  202.   int    clear_labels;        /* show all labels true or false? LOGIC */
  203.  
  204.   int    rescale_relabel;    /* are the labels equal to the data? LOGIC */
  205.  
  206.   Coord scale;            /* Are the axes linear, log, ...? LOGIC */
  207.  
  208.   int    xstep_size;        /* step size FLOAT*/
  209.   int    xbegin_point;        /* point to begin plotting INT */
  210.   int    xend_point;        /* point to end plotting INT */
  211.  
  212.   int    ystep_size;        /* step size FLOAT*/
  213.   int    ybegin_point;        /* point to begin plotting INT */
  214.   int    yend_point;        /* point to end plotting INT */
  215.  
  216.   int    data_format;        /* X or XY data is to be plotted INT */
  217.   int    data_type;        /* byte, short, integer, or float data INT */
  218.   int    machine_type;        /* the machine the data was created on INT */
  219.   int    active;            /* Is the plot drawn? LOGIC */
  220.  
  221.   float alpha;            /* alpha perspective */
  222.   float theta;            /* theta perspective */
  223.   float eyedist;        /* eyedist perspective */
  224.   float viewdist;        /* viewdist perspective */
  225.  
  226.   float    xmin;            /* x-axis data minimum FLOAT */
  227.   float    xmax;            /* x-axis data maximum FLOAT */
  228.   float    ymin;            /* y-axis data minimum FLOAT */
  229.   float    ymax;            /* y-axis data maximum FLOAT */
  230.   float    zmin;            /* z-axis data minimum FLOAT */
  231.   float    zmax;            /* z-axis data maximum FLOAT */
  232.   float    major_xint;        /* x-axis data major interval FLOAT */
  233.   float    major_yint;        /* y-axis data major interval FLOAT */
  234.   float    major_zint;        /* z-axis data major interval FLOAT */
  235.   float    xlabel_min;        /* x-axis labeled minimum FLOAT */
  236.   float    xlabel_max;        /* x-axis labeled maximum FLOAT */
  237.   float    ylabel_min;        /* y-axis labeled minimum FLOAT */
  238.   float    ylabel_max;        /* y-axis labeled maximum FLOAT */
  239.   float    zlabel_min;        /* z-axis labeled minimum FLOAT */
  240.   float    zlabel_max;        /* z-axis labeled maximum FLOAT */
  241.   float    major_xlabel_int;    /* x-axis labeled major interval FLOAT */
  242.   float    major_ylabel_int;    /* y-axis labeled major interval FLOAT */
  243.   float    major_zlabel_int;    /* z-axis labeled major interval FLOAT */
  244.   int    x_tics;            /* number of minor x tics INT */
  245.   int    y_tics;            /* number of minor y tics INT */
  246.   int    z_tics;            /* number of minor z tics INT */
  247.  
  248.   char    *func_xmin;        /* function xmin FLOAT */
  249.   char    *func_xmax;        /* function xmax FLOAT */
  250.   char    *func_xptnum;        /* #points to be evaluated in function INT */
  251.  
  252.   char    *func_ymin;        /* function xmin FLOAT */
  253.   char    *func_ymax;        /* function xmax FLOAT */
  254.   char    *func_yptnum;        /* #points to be evaluated in function INT */
  255.  
  256.   int number_plots;
  257.   int numerical_relabel_specified_xmin;
  258.   int numerical_scale_specified_xmin;
  259.   int numerical_relabel_specified_xmax;
  260.   int numerical_scale_specified_xmax;
  261.   int numerical_relabel_specified_xint;
  262.   int numerical_scale_specified_xint;
  263.  
  264.   int numerical_relabel_specified_ymax;
  265.   int numerical_scale_specified_ymax;
  266.   int numerical_relabel_specified_ymin;
  267.   int numerical_scale_specified_ymin;
  268.   int numerical_relabel_specified_yint;
  269.   int numerical_scale_specified_yint;
  270.  
  271.   int numerical_relabel_specified_zmin;
  272.   int numerical_scale_specified_zmin;
  273.   int numerical_relabel_specified_zmax;
  274.   int numerical_scale_specified_zmax;
  275.   int numerical_relabel_specified_zint;
  276.   int numerical_scale_specified_zint;
  277.  
  278.   xp3_plot_info_struct *plot_info[MAX_PLOTS];
  279.                 /* All the information about a single plot */
  280.  
  281. } xp3_area_info_struct;
  282.  
  283. typedef struct _xprism3 {
  284.  
  285.   char    *form_file;        /* user interface description STRING */
  286.  
  287.   char    *title;            /* plot title STRING */
  288.   char    *xaxis;            /* x-axis label STRING */
  289.   char    *yaxis;            /* y-axis label STRING */
  290.   char    *zaxis;            /* z-axis label STRING */
  291.  
  292.   int    font;            /* default font for parameters below INT */
  293.   int    xaxis_font;        /* font for xaxis INT */
  294.   int    yaxis_font;        /* font for yaxis INT */
  295.   int    zaxis_font;        /* font for zaxis INT */
  296.   int    numbers_font;        /* font for numbers INT */
  297.   int    legend_font;        /* font for legend INT */
  298.   int    title_font;        /* font for title INT */
  299.  
  300.   int    plot_type;        /* plot type INT */
  301.   int    marker_type;        /* marker type INT */
  302.   int    line_type;        /* line type INT */
  303.  
  304.   int    whichband;        /* band number to plot if multiband viff */
  305.   int    cmplx;             /* complex type to plot if complex */
  306.   int   rows;            /* number of rows */
  307.  
  308.   int    plot_color;        /* color for plot INT */
  309.   int    color;            /* default color for parameters below INT */
  310.   int    title_color;        /* color for title INT */
  311.   int    xaxis_label_color;    /* color for x-axis label INT */
  312.   int    yaxis_label_color;    /* color for y-axis labeI INT */
  313.   int    zaxis_label_color;    /* color for z-axis labeI INT */
  314.   int    xaxis_color;        /* color for x-axis INT */
  315.   int    yaxis_color;        /* color for y-axis INT */
  316.   int    zaxis_color;        /* color for z-axis INT */
  317.   int    num_xaxis_color;    /* color for x-axis numerical labels INT */
  318.   int    num_yaxis_color;    /* color for y-axis numerical labels INT */
  319.   int    num_zaxis_color;    /* color for z-axis numerical labels INT */
  320.   int    grid_color;        /* default color for grid INT */
  321.   int    legend_color;        /* color for legend INT */
  322.  
  323.   int    legend;            /* legend on or off? LOGIC */
  324.   int    box;            /* box on or off? LOGIC */
  325.   int    numerical_labels;    /* numerical labels on or off? LOGIC */
  326.   int    axes;            /* axes on or off? LOGIC */
  327.   int    grid;            /* grid on or off? LOGIC */
  328.   int    auto_scale;        /* use auto scale true or false? LOGIC */
  329.   int    clear_labels;        /* show all labels true or false? LOGIC */
  330.  
  331.   int    rescale_relabel;    /* are the labels equal to the data? LOGIC */
  332.  
  333.   Coord scale;            /* Are the axes linear, log, ...? LOGIC */
  334.  
  335.   int    xstep_size;        /* step size FLOAT*/
  336.   int    xbegin_point;        /* point to begin plotting INT */
  337.   int    xend_point;        /* point to end plotting INT */
  338.  
  339.   int    ystep_size;        /* step size FLOAT*/
  340.   int    ybegin_point;        /* point to begin plotting INT */
  341.   int    yend_point;        /* point to end plotting INT */
  342.  
  343.   int    data_format;        /* X or XY data is to be plotted INT */
  344.   int    data_type;        /* byte, short, integer, or float data INT */
  345.   int    machine_type;        /* the machine the data was created on INT */
  346.   int    active;            /* Is the plot drawn? LOGIC */
  347.  
  348.   float alpha;            /* alpha perspective */
  349.   float theta;            /* theta perspective */
  350.   float eyedist;        /* eyedist perspective */
  351.   float viewdist;        /* viewdist perspective */
  352.  
  353.  
  354.   float    xmin;            /* x-axis data minimum FLOAT */
  355.   float    xmax;            /* x-axis data maximum FLOAT */
  356.   float    ymin;            /* y-axis data minimum FLOAT */
  357.   float    ymax;            /* y-axis data maximum FLOAT */
  358.   float    zmin;            /* z-axis data minimum FLOAT */
  359.   float    zmax;            /* z-axis data maximum FLOAT */
  360.   float    major_xint;        /* x-axis data major interval FLOAT */
  361.   float    major_yint;        /* y-axis data major interval FLOAT */
  362.   float    major_zint;        /* z-axis data major interval FLOAT */
  363.   float    xlabel_min;        /* x-axis labeled minimum FLOAT */
  364.   float    xlabel_max;        /* x-axis labeled maximum FLOAT */
  365.   float    ylabel_min;        /* y-axis labeled minimum FLOAT */
  366.   float    ylabel_max;        /* y-axis labeled maximum FLOAT */
  367.   float    zlabel_min;        /* z-axis labeled minimum FLOAT */
  368.   float    zlabel_max;        /* z-axis labeled maximum FLOAT */
  369.   float    major_xlabel_int;    /* x-axis labeled major interval FLOAT */
  370.   float    major_ylabel_int;    /* y-axis labeled major interval FLOAT */
  371.   float    major_zlabel_int;    /* z-axis labeled major interval FLOAT */
  372.  
  373.   float update;            /* file update time */
  374.  
  375.   int    x_tics;            /* number of minor x tics INT */
  376.   int    y_tics;            /* number of minor y tics INT */
  377.   int    z_tics;            /* number of minor z tics INT */
  378.  
  379.   char     *func_xmin;        /* function xmin FLOAT */
  380.   char     *func_xmax;        /* function xmax FLOAT */
  381.   char     *func_xptnum;        /* #points to be evaluated in function INT */
  382.  
  383.   char     *func_ymin;        /* function xmin FLOAT */
  384.   char     *func_ymax;        /* function xmax FLOAT */
  385.   char     *func_yptnum;        /* #points to be evaluated in function INT */
  386.  
  387.     /*****  Environment Defaults  *****/
  388.  
  389.   char    *indir;            /* global input directory  STRING */
  390.   char    *outdir;        /* global output directory  STRING */
  391.  
  392.     /*****  Annotation File Defaults  *****/
  393.  
  394.   char    *annotation_in_file;    /* annotation input file STRING */
  395.   char    *annotation_out_file;    /* annotation input file STRING */
  396.  
  397.     /*****  Output File Defaults  *****/
  398.  
  399.   char    *explicit_imagefile;    /* explicit image filename STRING */
  400.   char    *implicit_imagefile;    /* implicit image filename STRING */
  401.   char    *colormap_imagefile;    /* colormap image filename STRING */
  402.   char    *screendump_file;    /* screen dump filename STRING */
  403.   char    *output_answer_file;    /* output answer filename STRING */
  404.  
  405.     /*****  Postscript Output Defaults  *****/
  406.  
  407.   char    *postscr_printer;    /* postscript printer STRING */
  408.   char    *postscr_file;        /* postscript file STRING */
  409.   int    postscr_flush;        /* flush postscript file? LOGIC */
  410.   int    postscr_invert;        /* invert postscript output? LOGIC */
  411.   int    postscr_landscape;    /* landscape postscript output? LOGIC */
  412.   int    postscr_mono;        /* mono postscript output? LOGIC */
  413.   float    postscr_width;        /* postscript output width  FLOAT */
  414.   float    postscr_height;        /* postscript output height  FLOAT */
  415.   float    postscr_xoffset;    /* postscript output x offset FLOAT */
  416.   float    postscr_yoffset;    /* postscript output y offset FLOAT */
  417.   int    postscr_output_type;    /* output type vector or raster INT */
  418.  
  419.     /*****  Imagen Output Defaults  *****/
  420.  
  421.   char    *imagen_printer;    /* imagen printer STRING */
  422.   char    *imagen_file;        /* imagen file STRING */
  423.   int    imagen_flush;        /* flush imagen file? LOGIC */
  424.   int    imagen_invert;        /* invert imagen output? LOGIC */
  425.   float    imagen_width;        /* imagen output width  FLOAT */
  426.   float    imagen_height;        /* imagen output height  FLOAT */
  427.   float    imagen_xoffset;        /* imagen output x offset FLOAT */
  428.   float    imagen_yoffset;        /* imagen output y offset FLOAT */
  429.   int    imagen_output_type;    /* output type vector or raster INT */
  430.  
  431.     /*****  Imagen Output Defaults  *****/
  432.  
  433.   char    *hpgl_printer;        /* hpgl printer STRING */
  434.   char    *hpgl_file;        /* hpgl file STRING */
  435.   int    hpgl_flush;        /* flush hpgl file? LOGIC */
  436.   int    hpgl_landscape;        /* landscape hpgl output? LOGIC */
  437.   float    hpgl_width;        /* hpgl output width  FLOAT */
  438.   float    hpgl_height;        /* hpgl output height  FLOAT */
  439.   float    hpgl_xoffset;        /* hpgl output x offset FLOAT */
  440.   float    hpgl_yoffset;        /* hpgl output y offset FLOAT */
  441.  
  442.     /*****  LN03 Output Defaults  *****/
  443.  
  444.   char    *ln03_file;        /* ln03 file STRING */
  445.   char    *ln03_printer;        /* ln03 printer STRING */
  446.   int    ln03_invert;        /* invert ln03 output? LOGIC */
  447.  
  448.   int plots_specified;
  449.   int numerical_relabel_specified_xmin;
  450.   int numerical_scale_specified_xmin;
  451.   int numerical_relabel_specified_xmax;
  452.   int numerical_scale_specified_xmax;
  453.   int numerical_relabel_specified_xint;
  454.   int numerical_scale_specified_xint;
  455.  
  456.   int numerical_relabel_specified_ymin;
  457.   int numerical_scale_specified_ymin;
  458.   int numerical_relabel_specified_ymax;
  459.   int numerical_scale_specified_ymax;
  460.   int numerical_relabel_specified_yint;
  461.   int numerical_scale_specified_yint;
  462.  
  463.   int numerical_relabel_specified_zmin;
  464.   int numerical_scale_specified_zmin;
  465.   int numerical_relabel_specified_zmax;
  466.   int numerical_scale_specified_zmax;
  467.   int numerical_relabel_specified_zint;
  468.   int numerical_scale_specified_zint;
  469.   int number_areas;
  470.  
  471.   xp3_area_info_struct *area_info[MAX_AREAS];
  472.                 /* All the information about a single plot
  473.                    area */
  474.  
  475. } xprism3_struct;
  476.  
  477. #define WHITE            0
  478. #define MEDIUMSPRINGGREEN    1
  479. #define YELLOW            2
  480. #define CYAN            3
  481. #define MEDIUMORCHID        4
  482. #define MAGENTA            5
  483. #define ORANGE            6
  484. #define WHEAT            7
  485. #define LIMEGREEN        8
  486. #define TURQUOISE        9
  487. #define PINK            10
  488. #define LIGHTGREY        11
  489. #define PLUM            12
  490. #define FORESTGREEN        13
  491. #define SALMON            14
  492. #define THISTLE            15
  493. #define VIOLET            16
  494. #define ORANGERED        17
  495. #define RED            18
  496. #define SEAGREEN        19
  497. #define BLUE            20
  498. #define GOLDENROD        21
  499. #define CORAL            22
  500. #define SIENNA            23
  501.  
  502. static char *linenames[] =
  503. {
  504.     "Solid",    "Dotted",    "Dot Dashed",
  505.     "Short Dashed", "Long Dashed",  "Odd Dashed"
  506. };
  507.  
  508. #define NO_MARKER        0
  509. #define SQUARE            1
  510. #define TRIANGLE        2
  511. #define CROSS            3
  512. #define BOWTIE            4
  513. #define ARC            5
  514. #define DIAMOND            6
  515. #define CIRCLES            7
  516. #define V            8
  517. #define HEXAGON            9
  518. #define X            10
  519. #define DROPLET            11
  520. #define CARET            12
  521. #define POINT            13
  522. #define DAGGER            14
  523. #define BOX            15
  524.  
  525. static char *markernames[] =
  526. {
  527.     "Square",    "Triangle",    "Cross",    "BowTie",    "Arc",
  528.     "Diamond",    "Circle",    "V",        "Hexagon",    "X",
  529.     "Droplet",    "Caret",    "Point",    "Dagger",    "Box"
  530. };
  531.  
  532. static char *plotnames[] =
  533. {
  534.     "3D",        "Mesh",        "Scatter",
  535.     "3D Contour",    "2D Contour",     "Impulse",
  536.     "Surface",    "Horizon",    "Color Mesh"
  537. };
  538.  
  539. static char *data_type_names[] =
  540. {
  541.     "Byte",        "Short",    "Integer",    "Float"
  542. };
  543.  
  544. static char *data_format_names[] =
  545. {
  546.     "XYZ Triplets",        "Z only"
  547. };
  548.  
  549. #endif /* _xprism3_h_ */
  550.  
  551. /* Do not add after this line */
  552.