home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Graphics / Gnuplot / Source / setshow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-02  |  4.7 KB  |  161 lines

  1. /*
  2.  * $Id: setshow.h%v 3.38.2.74 1993/02/19 00:57:30 woo Exp woo $
  3.  *
  4.  */
  5.  
  6. /* GNUPLOT - setshow.h */
  7. /*
  8.  * Copyright (C) 1986 - 1993   Thomas Williams, Colin Kelley
  9.  *
  10.  * Permission to use, copy, and distribute this software and its
  11.  * documentation for any purpose with or without fee is hereby granted, 
  12.  * provided that the above copyright notice appear in all copies and 
  13.  * that both that copyright notice and this permission notice appear 
  14.  * in supporting documentation.
  15.  *
  16.  * Permission to modify the software is granted, but not the right to
  17.  * distribute the modified code.  Modifications are to be distributed 
  18.  * as patches to released version.
  19.  *  
  20.  * This software is provided "as is" without express or implied warranty.
  21.  * 
  22.  *
  23.  * AUTHORS
  24.  * 
  25.  *   Original Software:
  26.  *     Thomas Williams,  Colin Kelley.
  27.  * 
  28.  *   Gnuplot 2.0 additions:
  29.  *       Russell Lang, Dave Kotz, John Campbell.
  30.  *
  31.  *   Gnuplot 3.0 additions:
  32.  *       Gershon Elber and many others.
  33.  *
  34.  * 19 September 1992  Lawrence Crowl  (crowl@cs.orst.edu)
  35.  * Added user-specified bases for log scaling.
  36.  * 
  37.  * Send your comments or suggestions to 
  38.  *  info-gnuplot@dartmouth.edu.
  39.  * This is a mailing list; to join it send a note to 
  40.  *  info-gnuplot-request@dartmouth.edu.  
  41.  * Send bug reports to
  42.  *  bug-gnuplot@dartmouth.edu.
  43.  */
  44.  
  45. /*
  46.  * global variables to hold status of 'set' options
  47.  *
  48.  */
  49. extern TBOOLEAN            autoscale_r;
  50. extern TBOOLEAN            autoscale_t;
  51. extern TBOOLEAN            autoscale_u;
  52. extern TBOOLEAN            autoscale_v;
  53. extern TBOOLEAN            autoscale_x;
  54. extern TBOOLEAN            autoscale_y;
  55. extern TBOOLEAN            autoscale_z;
  56. extern TBOOLEAN            autoscale_lt;
  57. extern TBOOLEAN            autoscale_lu;
  58. extern TBOOLEAN            autoscale_lv;
  59. extern TBOOLEAN            autoscale_lx;
  60. extern TBOOLEAN            autoscale_ly;
  61. extern TBOOLEAN            autoscale_lz;
  62. extern double            boxwidth;
  63. extern TBOOLEAN            clip_points;
  64. extern TBOOLEAN            clip_lines1;
  65. extern TBOOLEAN            clip_lines2;
  66. extern TBOOLEAN            draw_border;
  67. extern TBOOLEAN            draw_surface;
  68. extern TBOOLEAN            timedate;
  69. extern char            dummy_var[MAX_NUM_VAR][MAX_ID_LEN+1];
  70. extern char            xformat[];
  71. extern char            yformat[];
  72. extern char            zformat[];
  73. extern enum PLOT_STYLE data_style, func_style;
  74. extern TBOOLEAN            grid;
  75. extern int            key;
  76. extern double            key_x, key_y, key_z; /* user specified position for key */
  77. extern TBOOLEAN            is_log_x, is_log_y, is_log_z;
  78. extern double            base_log_x, base_log_y, base_log_z;
  79.                 /* base, for computing pow(base,x) */
  80. extern double            log_base_log_x, log_base_log_y, log_base_log_z;
  81.                 /* log of base, for computing logbase(base,x) */
  82. extern FILE*            outfile;
  83. extern char            outstr[];
  84. extern TBOOLEAN            parametric;
  85. extern TBOOLEAN            polar;
  86. extern TBOOLEAN            hidden3d;
  87. extern int            angles_format;
  88. extern int            mapping3d;
  89. extern int            samples;
  90. extern int            samples_1;
  91. extern int            samples_2;
  92. extern int            iso_samples_1;
  93. extern int            iso_samples_2;
  94. extern float            xsize; /* scale factor for size */
  95. extern float            ysize; /* scale factor for size */
  96. extern float            zsize; /* scale factor for size */
  97. extern float            surface_rot_z;
  98. extern float            surface_rot_x;
  99. extern float            surface_scale;
  100. extern float            surface_zscale;
  101. extern int            term; /* unknown term is 0 */
  102. extern char            term_options[];
  103. extern char            title[];
  104. extern char            xlabel[];
  105. extern char            ylabel[];
  106. extern char            zlabel[];
  107. extern int            time_xoffset;
  108. extern int            time_yoffset;
  109. extern int            title_xoffset;
  110. extern int            title_yoffset;
  111. extern int            xlabel_xoffset;
  112. extern int            xlabel_yoffset;
  113. extern int            ylabel_xoffset;
  114. extern int            ylabel_yoffset;
  115. extern int            zlabel_xoffset;
  116. extern int            zlabel_yoffset;
  117. extern double            rmin, rmax;
  118. extern double            tmin, tmax, umin, umax, vmin, vmax;
  119. extern double            xmin, xmax, ymin, ymax, zmin, zmax;
  120. extern double            loff, roff, toff, boff;
  121. extern int            draw_contour;
  122. extern TBOOLEAN      label_contours;
  123. extern int            contour_pts;
  124. extern int            contour_kind;
  125. extern int            contour_order;
  126. extern int            contour_levels;
  127. extern double            zero; /* zero threshold, not 0! */
  128. extern int            levels_kind;
  129. extern double        levels_list[MAX_DISCRETE_LEVELS];
  130.  
  131. extern int            dgrid3d_row_fineness;
  132. extern int            dgrid3d_col_fineness;
  133. extern int            dgrid3d_norm_value;
  134. extern TBOOLEAN            dgrid3d;
  135.  
  136. extern TBOOLEAN xzeroaxis;
  137. extern TBOOLEAN yzeroaxis;
  138.  
  139. extern TBOOLEAN xtics;
  140. extern TBOOLEAN ytics;
  141. extern TBOOLEAN ztics;
  142.  
  143. extern float ticslevel;
  144.  
  145. extern struct ticdef xticdef;
  146. extern struct ticdef yticdef;
  147. extern struct ticdef zticdef;
  148.  
  149. extern TBOOLEAN            tic_in;
  150.  
  151. extern struct text_label *first_label;
  152. extern struct arrow_def *first_arrow;
  153.  
  154. /* The set and show commands, in setshow.c */
  155. extern void set_command();
  156. extern void show_command();
  157. /* and some accessible support functions */
  158. extern enum PLOT_STYLE get_style();
  159. extern TBOOLEAN load_range();
  160. extern void show_version();
  161.