home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 334_02 / setshow.h < prev    next >
Text File  |  1991-02-05  |  3KB  |  87 lines

  1. /* GNUPLOT - setshow.h */
  2. /*
  3.  * Copyright (C) 1986, 1987, 1990   Thomas Williams, Colin Kelley
  4.  *
  5.  * Permission to use, copy, and distribute this software and its
  6.  * documentation for any purpose with or without fee is hereby granted, 
  7.  * provided that the above copyright notice appear in all copies and 
  8.  * that both that copyright notice and this permission notice appear 
  9.  * in supporting documentation.
  10.  *
  11.  * Permission to modify the software is granted, but not the right to
  12.  * distribute the modified code.  Modifications are to be distributed 
  13.  * as patches to released version.
  14.  *  
  15.  * This software  is provided "as is" without express or implied warranty.
  16.  * 
  17.  *
  18.  * AUTHORS
  19.  * 
  20.  *   Original Software:
  21.  *     Thomas Williams,  Colin Kelley.
  22.  * 
  23.  *   Gnuplot 2.0 additions:
  24.  *       Russell Lang, Dave Kotz, John Campbell.
  25.  * 
  26.  * send your comments or suggestions to (pixar!info-gnuplot@sun.com).
  27.  * 
  28.  */
  29.  
  30. /*
  31.  * global variables to hold status of 'set' options
  32.  *
  33.  */
  34. extern BOOLEAN            autoscale_t;
  35. extern BOOLEAN            autoscale_x;
  36. extern BOOLEAN            autoscale_y;
  37. extern BOOLEAN            autoscale_lt;
  38. extern BOOLEAN            autoscale_lx;
  39. extern BOOLEAN            autoscale_ly;
  40. extern BOOLEAN            clip_points;
  41. extern BOOLEAN            clip_lines1;
  42. extern BOOLEAN            clip_lines2;
  43. extern char            dummy_var[];
  44. extern char            xformat[];
  45. extern char            yformat[];
  46. extern enum PLOT_STYLE data_style, func_style;
  47. extern BOOLEAN            grid;
  48. extern int            key;
  49. extern double            key_x, key_y; /* user specified position for key */
  50. extern BOOLEAN            log_x, log_y;
  51. extern FILE*            outfile;
  52. extern char            outstr[];
  53. extern BOOLEAN            polar;
  54. extern BOOLEAN            parametric;
  55. extern int            samples;
  56. extern float            xsize; /* scale factor for size */
  57. extern float            ysize; /* scale factor for size */
  58. extern int            term; /* unknown term is 0 */
  59. extern char            title[];
  60. extern char            xlabel[];
  61. extern char            ylabel[];
  62. extern double            tmin, tmax, xmin, xmax, ymin, ymax;
  63. extern double            loff, roff, toff, boff;
  64. extern double            zero; /* zero threshold, not 0! */
  65.  
  66. extern BOOLEAN xzeroaxis;
  67. extern BOOLEAN yzeroaxis;
  68.  
  69. extern BOOLEAN xtics;
  70. extern BOOLEAN ytics;
  71.  
  72. extern struct ticdef xticdef;
  73. extern struct ticdef yticdef;
  74.  
  75. extern BOOLEAN            tic_in;
  76.  
  77. extern struct text_label *first_label;
  78. extern struct arrow_def *first_arrow;
  79.  
  80. /* The set and show commands, in setshow.c */
  81. extern void set_command();
  82. extern void show_command();
  83. /* and some accessible support functions */
  84. extern enum PLOT_STYLE get_style();
  85. extern BOOLEAN load_range();
  86. extern void show_version();
  87.