home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / splot122.zip / DOC / DEFIN.TEX < prev    next >
Text File  |  1994-09-22  |  8KB  |  183 lines

  1. \chapter{Splot Definitions} 
  2.  
  3. Contents of Splot.h Constant Definition File
  4. \index{constants, definitions}
  5.  
  6. \begin{tabbing}
  7. \= \\
  8. \> /* splot.h */                      \\  
  9. \>                                    \\  
  10. \>\#ifndef SPLOT$_-$H                 \\
  11. \>\#define SPLOT$_-$H                 \\
  12. \>                                    \\
  13. \>/* general defines */               \\
  14. \>\#define OFF 0                      \\
  15. \>\#define ON 1                       \\
  16. \>\#define TRUE 1                     \\
  17. \>\#define FALSE 0                    \\
  18. \>                                    \\
  19. \>/* define line styles */            \\
  20. \>\#define SOLID 0                    \\
  21. \>\#define DASHED 1.0,0.5             \\
  22. \>\#define DOTTED 0.2 0.2             \\
  23. \>\#define DOTDASH 1.0,0.5,0.25,0.5   \\
  24. \>                                    \\
  25. \>/* page size in cm */               \\
  26. \>\#define XLENGTH 20.00              \\
  27. \>\#define YLENGTH 26.00              \\
  28. \>                                    \\
  29. \>/* define graphics draw op */       \\
  30. \>\#define REP 0                      \\
  31. \>\#define AND 0x08                   \\
  32. \>\#define OR 0x10                    \\
  33. \>\#define XOR 0x18                   \\
  34. \>                                    \\
  35. \>/* define colours */                \\
  36. \>\#define INVIS -1                   \\
  37. \>\#define BLACK 0                    \\
  38. \>\#define BLUE 1                     \\
  39. \>\#define GREEN 2                    \\
  40. \>\#define CYAN 3                     \\
  41. \>\#define RED 4                      \\
  42. \>\#define MAGENTA 5                  \\
  43. \>\#define BROWN 6                    \\
  44. \>\#define WHITE 7                    \\
  45. \>                                    \\
  46. \>/* define the axes labels */        \\
  47. \>\#define LOWER 0                    \\
  48. \>\#define BOTTOM 0                   \\
  49. \>\#define UPPER 2                    \\
  50. \>\#define TOP 2                      \\
  51. \>\#define LEFT 1                     \\
  52. \>\#define RIGHT 3                    \\
  53. \>\#define XAXES 4                    \\
  54. \>\#define YAXES 5                    \\
  55. \>                                    \\
  56. \>\#define CENTER 4                   \\
  57. \>\#define XCENTER 1.7e308            \\
  58. \>\#define YCENTER 1.7e308            \\
  59. \>                                    \\
  60. \>/* define axes types */             \\
  61. \>\#define LINEAR 0x11                \\
  62. \>\#define LOGX 0x12                  \\
  63. \>\#define LOGY 0x21                  \\
  64. \>\#define LOGLOG 0x22                \\
  65. \>\#define INVX 0x14                  \\
  66. \>\#define INVY 0x41                  \\
  67. \>\#define INVINV 0x44                \\
  68. \>\#define INVXLOGY 0x24              \\
  69. \>\#define LOGXINVY 0x24              \\
  70. \>                                    \\
  71. \>/* define line cap styles */        \\
  72. \>\#define BUTTCAP 0                  \\
  73. \>\#define ROUNDCAP 1                 \\
  74. \>\#define PROJCAP 2                  \\
  75. \>                                    \\
  76. \>/* define line join styles */       \\
  77. \>\#define MITERJOIN 3                \\
  78. \>\#define MITREJOIN 3                \\
  79. \>\#define ROUNDJOIN 4                \\
  80. \>\#define BEVELJOIN 5                \\
  81. \>                                    \\
  82. \>/* define fill rules */             \\
  83. \>\#define NONZWIND 0                 \\
  84. \>\#define EVENODD 1                  \\
  85. \>                                    \\
  86. \>/* define devices */                \\
  87. \>\#define DISPLAY 0                  \\
  88. \>\#define LASERJET 2                 \\
  89. \>\#define PAINTJET 3                 \\
  90. \>\#define PCXFILE 4                  \\
  91. \>\#define HP500 5                    \\
  92. \>\#define HP500C 6                   \\
  93. \>\#define OS2PMPRINT 7               \\
  94. \>                                    \\
  95. \>/* define which column for error bars */\\
  96. \>\#define XVALS 0                    \\
  97. \>\#define YVALS 1                    \\
  98. \>                                    \\
  99. \>/* define default font info */      \\
  100. \>\#define CELL$_-$WIDTH        0.7       /* default font width */             \\
  101. \>\#define CELL$_-$ASPECT       2.0       /* default font height/width ratio */ \\
  102. \>\#define CELL$_-$SPACING      2.0   \\   
  103. \>                                    \\
  104. \>\#define NFONTS        7             /* number of available fonts */ \\
  105. \>\#define NORMALTEXT    0             /* for use with array of font pointers */\\
  106. \>\#define ROMAN$_-$S       1         \\
  107. \>\#define ROMAN$_-$C       2         \\
  108. \>\#define GREEK$_-$S       3         \\
  109. \>\#define GREEK$_-$C       4         \\
  110. \>\#define ITALIC$_-$C      5         \\
  111. \>\#define SYMBOL$_-$S      6         \\
  112. \>\#define SIMPLEX       0            \\
  113. \>\#define COMPLEX       1            \\
  114. \>                                    \\
  115. \>/* define symbol names */           \\
  116. \>\#define OCIRCLE 0                  \\
  117. \>\#define OSQUARE 1                  \\
  118. \>\#define OTRIANGLE 2                \\
  119. \>\#define ODIAMOND 3                 \\
  120. \>\#define OSTAR 4                    \\
  121. \>\#define OARROW 5                   \\
  122. \>\#define PLUS 6                     \\
  123. \>\#define CROSS 7                    \\
  124. \>\#define MULT 8                     \\
  125. \>\#define CIRCLE 9                   \\
  126. \>\#define SQUARE 10                  \\
  127. \>\#define TRIANGLE 11                \\
  128. \>\#define DIAMOND 12                 \\
  129. \>\#define STAR 13                    \\
  130. \>\#define ARROW 14                   \\
  131. \>                                    \\
  132. \>/* define plot types */             \\
  133. \>\#define LINES 0                    \\
  134. \>\#define SYMBOLS 1                  \\
  135. \>\#define SYM$_-$LINES 2             \\
  136. \>                                    \\
  137. \>/* define set options */            \\
  138. \>\#define AXESCLIP        0          \\
  139. \>\#define AXESTYPE        1          \\
  140. \>\#define CURSYMBOL       2          \\
  141. \>\#define FILLRULE        3          \\
  142. \>\#define FLATNESS        4          \\
  143. \>\#define FONT            5          \\
  144. \>\#define FONTASPECT      6          \\
  145. \>\#define FONTDIR         7          \\
  146. \>\#define FONTMULT        8          \\
  147. \>\#define FONTSPACE       9          \\
  148. \>\#define FONTWIDTH       10         \\
  149. \>\#define LABELMARG       11         \\
  150. \>\#define LINECAP         12         \\
  151. \>\#define LINECOLOUR      13         \\
  152. \>\#define LINEJOIN        14         \\
  153. \>\#define LINESTYLE       15         \\
  154. \>\#define LINEWIDTH       16         \\
  155. \>\#define MITERLIMIT      17         \\
  156. \>\#define PAGEROT         18         \\
  157. \>\#define PATTOFF         19         \\
  158. \>\#define PLOTTYPE        20         \\
  159. \>\#define SCALEALL        21         \\
  160. \>\#define SCRIPTSCALE     22         \\
  161. \>\#define SCRIPTSHIFT     23         \\
  162. \>\#define SYMMULT         24         \\
  163. \>\#define TICKLMARG       25         \\
  164. \>\#define TICKLENGTH      26         \\
  165. \>\#define XMULT           27         \\
  166. \>\#define XRANGE          28         \\
  167. \>\#define XSHIFT          29         \\
  168. \>\#define YMULT           30         \\
  169. \>\#define YRANGE          31         \\
  170. \>\#define YSHIFT          32         \\
  171. \>\#define LINECOLOR       13         \\
  172. \>\#define MITRELIMIT      17         \\
  173. \>\#define PAGE\_ROT       18         \\
  174. \>                                    \\
  175. \>/* set aliases for old commands */  \\
  176. \>\#define tabdata readdata           \\
  177. \>\#define hputs text                 \\
  178. \>                                    \\
  179. \>\#endif                             \\
  180. \>                                    \\
  181. \>/* splot.h */                       \\
  182. \end{tabbing}
  183.