home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / misc / volume28 / jgraph / patch07.5 < prev    next >
Encoding:
Text File  |  1992-02-25  |  48.9 KB  |  1,613 lines

  1. Newsgroups: comp.sources.misc
  2. From: jsp@Princeton.EDU (James Plank)
  3. Subject:  v28i074:  jgraph - A filter for plotting postscript graphs, Patch07.5
  4. Message-ID: <1992Feb26.061320.20320@sparky.imd.sterling.com>
  5. X-Md4-Signature: 42c6ca5d688539d80e38ad93d6692f2c
  6. Date: Wed, 26 Feb 1992 06:13:20 GMT
  7. Approved: kent@sparky.imd.sterling.com
  8.  
  9. Submitted-by: jsp@Princeton.EDU (James Plank)
  10. Posting-number: Volume 28, Issue 74
  11. Archive-name: jgraph/patch07.5
  12. Environment: UNIX, VMS, postscript
  13. Patch-To: jgraph: Volume 16, Issue 20
  14.  
  15. Jgraph patch 7.5: Mon Feb 10 10:42:11 EST 1992
  16.  
  17. Jgraph now has color!  Check out the man page (cfill and color
  18. commands).  Also, I've removed the quirk that grid lines are automatically
  19. generated for major and minor hash marks.  Now you do grid_lines
  20. for major ones and mgrid_lines for minor ones.
  21.  
  22. Oh, a final word about color strings -- you can't set the color of
  23. a string that you've made with newstring or copystring.  However, you
  24. can plot strings as curve points with different colors, so do that.
  25. It seemed better than adding color to all labels.  (this will probably
  26. be a fix for a later version).
  27.  
  28. Again, let me know of bugs or comments.
  29.  
  30. Take it easy
  31.  
  32. Jim
  33. jsp@princeton.edu
  34.  
  35. (oh, and as always, jgraph is available via anonymous ftp to
  36. princeton.edu in pub/jgraph.Z.  It's a shell bundle file.
  37. Remember to set ftp to binary before getting it).
  38.  
  39. Here's the patch from v. 7.3:
  40.  
  41. *** ../work/README    Tue Feb 25 22:26:42 1992
  42. --- README    Tue Feb 25 22:28:16 1992
  43. ***************
  44. *** 1,4 ****
  45. ! $Revision: 7.3 $
  46.   
  47.   Jgraph takes the description of a graph or graphs in the standard
  48.   input, and produces a postscript file on the standard output.  Jgraph
  49. --- 1,4 ----
  50. ! $Revision: 7.5 $
  51.   
  52.   Jgraph takes the description of a graph or graphs in the standard
  53.   input, and produces a postscript file on the standard output.  Jgraph
  54. *** /dev/null    Tue Feb 25 22:09:31 1992
  55. --- alb.jgr    Tue Feb 25 22:28:19 1992
  56. ***************
  57. *** 0 ****
  58. --- 1,443 ----
  59. + newgraph
  60. + xaxis min 1 max 25 size 6.000 nodraw
  61. + yaxis min .25 max 5 size 1.14 nodraw
  62. + newstring x 12.5 y .25 vjc hjc : (a)
  63. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  64. +     1 5 1 4 1 3 1 2 1 1 
  65. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  66. +     2 5 3 4 3 3 3 2 3 1 
  67. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  68. +     2 4 3 3 
  69. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  70. +     2 3 3 2 
  71. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  72. +     2 2 3 1 
  73. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  74. +     2 1 
  75. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  76. +     3 5 3 4 
  77. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  78. +     4 5 3 4 
  79. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  80. +     4 4 3 3 
  81. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  82. +     4 3 3 2 
  83. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  84. +     4 2 3 1 
  85. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  86. +     4 1 
  87. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  88. +     5 5 7 4 7 3 7 2 7 1 
  89. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  90. +     5 4 7 3 
  91. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  92. +     5 3 7 2 
  93. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  94. +     5 2 7 1 
  95. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  96. +     5 1 
  97. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  98. +     6 5 7 4 
  99. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  100. +     6 4 7 3 
  101. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  102. +     6 3 7 2 
  103. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  104. +     6 2 7 1 
  105. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  106. +     6 1 
  107. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  108. +     7 5 7 4 
  109. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  110. +     8 5 7 4 
  111. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  112. +     8 4 7 3 
  113. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  114. +     8 3 7 2 
  115. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  116. +     8 2 7 1 
  117. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  118. +     8 1 
  119. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  120. +     9 5 7 4 
  121. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  122. +     9 4 7 3 
  123. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  124. +     9 3 7 2 
  125. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  126. +     9 2 7 1 
  127. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  128. +     9 1 
  129. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  130. +     10 5 13 4 13 3 13 2 13 1 
  131. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  132. +     10 4 13 3 
  133. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  134. +     10 3 13 2 
  135. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  136. +     10 2 13 1 
  137. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  138. +     10 1 
  139. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  140. +     11 5 13 4 
  141. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  142. +     11 4 13 3 
  143. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  144. +     11 3 13 2 
  145. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  146. +     11 2 13 1 
  147. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  148. +     11 1 
  149. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  150. +     12 5 13 4 
  151. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  152. +     12 4 13 3 
  153. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  154. +     12 3 13 2 
  155. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  156. +     12 2 13 1 
  157. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  158. +     12 1 
  159. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  160. +     13 5 13 4 
  161. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  162. +     14 5 13 4 
  163. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  164. +     14 4 13 3 
  165. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  166. +     14 3 13 2 
  167. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  168. +     14 2 13 1 
  169. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  170. +     14 1 
  171. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  172. +     15 5 13 4 
  173. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  174. +     15 4 13 3 
  175. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  176. +     15 3 13 2 
  177. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  178. +     15 2 13 1 
  179. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  180. +     15 1 
  181. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  182. +     16 5 13 4 
  183. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  184. +     16 4 13 3 
  185. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  186. +     16 3 13 2 
  187. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  188. +     16 2 13 1 
  189. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  190. +     16 1 
  191. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  192. +     17 5 21 4 21 3 21 2 21 1 
  193. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  194. +     17 4 21 3 
  195. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  196. +     17 3 21 2 
  197. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  198. +     17 2 21 1 
  199. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  200. +     17 1 
  201. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  202. +     18 5 21 4 
  203. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  204. +     18 4 21 3 
  205. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  206. +     18 3 21 2 
  207. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  208. +     18 2 21 1 
  209. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  210. +     18 1 
  211. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  212. +     19 5 21 4 
  213. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  214. +     19 4 21 3 
  215. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  216. +     19 3 21 2 
  217. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  218. +     19 2 21 1 
  219. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  220. +     19 1 
  221. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  222. +     20 5 21 4 
  223. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  224. +     20 4 21 3 
  225. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  226. +     20 3 21 2 
  227. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  228. +     20 2 21 1 
  229. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  230. +     20 1 
  231. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  232. +     21 5 21 4 
  233. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  234. +     22 5 21 4 
  235. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  236. +     22 4 21 3 
  237. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  238. +     22 3 21 2 
  239. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  240. +     22 2 21 1 
  241. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  242. +     22 1 
  243. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  244. +     23 5 21 4 
  245. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  246. +     23 4 21 3 
  247. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  248. +     23 3 21 2 
  249. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  250. +     23 2 21 1 
  251. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  252. +     23 1 
  253. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  254. +     24 5 21 4 
  255. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  256. +     24 4 21 3 
  257. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  258. +     24 3 21 2 
  259. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  260. +     24 2 21 1 
  261. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  262. +     24 1 
  263. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  264. +     25 5 21 4 
  265. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  266. +     25 4 21 3 
  267. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  268. +     25 3 21 2 
  269. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  270. +     25 2 21 1 
  271. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  272. +     25 1 
  273. + newgraph
  274. + xaxis min 1 max 25 size 6.000 nodraw
  275. + yaxis min .25 max 5 size 1.14 nodraw
  276. + y_translate -1.5
  277. + newstring x 12.5 y .25 vjc hjc : (b)
  278. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  279. +     1 5 21 4 21 3 21 2 21 1 
  280. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  281. +     1 4 3 3 7 2 13 1 
  282. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  283. +     1 3 3 2 7 1 
  284. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  285. +     1 2 3 1 
  286. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  287. +     1 1 
  288. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  289. +     2 5 3 4 7 3 13 2 21 1 
  290. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  291. +     2 4 3 3 
  292. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  293. +     2 3 3 2 
  294. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  295. +     2 2 3 1 
  296. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  297. +     2 1 
  298. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  299. +     3 5 3 4 
  300. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  301. +     4 5 3 4 
  302. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  303. +     4 4 3 3 
  304. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  305. +     4 3 3 2 
  306. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  307. +     4 2 3 1 
  308. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  309. +     4 1 
  310. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  311. +     5 5 7 4 13 3 21 2 
  312. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  313. +     5 4 7 3 
  314. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  315. +     5 3 7 2 
  316. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  317. +     5 2 7 1 
  318. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  319. +     5 1 
  320. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  321. +     6 5 7 4 
  322. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  323. +     6 4 7 3 
  324. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  325. +     6 3 7 2 
  326. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  327. +     6 2 7 1 
  328. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  329. +     6 1 
  330. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  331. +     7 5 7 4 
  332. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  333. +     8 5 7 4 
  334. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  335. +     8 4 7 3 
  336. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  337. +     8 3 7 2 
  338. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  339. +     8 2 7 1 
  340. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  341. +     8 1 
  342. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  343. +     9 5 7 4 
  344. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  345. +     9 4 7 3 
  346. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  347. +     9 3 7 2 
  348. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  349. +     9 2 7 1 
  350. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  351. +     9 1 
  352. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  353. +     10 5 13 4 21 3 
  354. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  355. +     10 4 13 3 
  356. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  357. +     10 3 13 2 
  358. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  359. +     10 2 13 1 
  360. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  361. +     10 1 
  362. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  363. +     11 5 13 4 
  364. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  365. +     11 4 13 3 
  366. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  367. +     11 3 13 2 
  368. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  369. +     11 2 13 1 
  370. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  371. +     11 1 
  372. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  373. +     12 5 13 4 
  374. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  375. +     12 4 13 3 
  376. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  377. +     12 3 13 2 
  378. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  379. +     12 2 13 1 
  380. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  381. +     12 1 
  382. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  383. +     13 5 13 4 
  384. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  385. +     14 5 13 4 
  386. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  387. +     14 4 13 3 
  388. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  389. +     14 3 13 2 
  390. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  391. +     14 2 13 1 
  392. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  393. +     14 1 
  394. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  395. +     15 5 13 4 
  396. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  397. +     15 4 13 3 
  398. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  399. +     15 3 13 2 
  400. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  401. +     15 2 13 1 
  402. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  403. +     15 1 
  404. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  405. +     16 5 13 4 
  406. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  407. +     16 4 13 3 
  408. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  409. +     16 3 13 2 
  410. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  411. +     16 2 13 1 
  412. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  413. +     16 1 
  414. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  415. +     17 5 21 4 
  416. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  417. +     17 4 21 3 
  418. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  419. +     17 3 21 2 
  420. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  421. +     17 2 21 1 
  422. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  423. +     17 1 
  424. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  425. +     18 5 21 4 
  426. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  427. +     18 4 21 3 
  428. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  429. +     18 3 21 2 
  430. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  431. +     18 2 21 1 
  432. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  433. +     18 1 
  434. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  435. +     19 5 21 4 
  436. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  437. +     19 4 21 3 
  438. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  439. +     19 3 21 2 
  440. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  441. +     19 2 21 1 
  442. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  443. +     19 1 
  444. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  445. +     20 5 21 4 
  446. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  447. +     20 4 21 3 
  448. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  449. +     20 3 21 2 
  450. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  451. +     20 2 21 1 
  452. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  453. +     20 1 
  454. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  455. +     21 5 21 4 
  456. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  457. +     22 5 21 4 
  458. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  459. +     22 4 21 3 
  460. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  461. +     22 3 21 2 
  462. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  463. +     22 2 21 1 
  464. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  465. +     22 1 
  466. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  467. +     23 5 21 4 
  468. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  469. +     23 4 21 3 
  470. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  471. +     23 3 21 2 
  472. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  473. +     23 2 21 1 
  474. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  475. +     23 1 
  476. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  477. +     24 5 21 4 
  478. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  479. +     24 4 21 3 
  480. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  481. +     24 3 21 2 
  482. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  483. +     24 2 21 1 
  484. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  485. +     24 1 
  486. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  487. +     25 5 21 4 
  488. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  489. +     25 4 21 3 
  490. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  491. +     25 3 21 2 
  492. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  493. +     25 2 21 1 
  494. + newcurve linetype solid marktype circle marksize 0.200 0.200 pts
  495. +     25 1 
  496. *** ../work/draw.c    Tue Feb 25 22:26:45 1992
  497. --- draw.c    Tue Feb 25 22:28:20 1992
  498. ***************
  499. *** 1,7 ****
  500.   /* 
  501.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/draw.c,v $
  502. !  * $Revision: 7.3 $
  503. !  * $Date: 92/02/04 12:20:48 $
  504.    * $Author: jsp $
  505.    */
  506.   
  507. --- 1,7 ----
  508.   /* 
  509.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/draw.c,v $
  510. !  * $Revision: 7.5 $
  511. !  * $Date: 92/02/10 10:36:49 $
  512.    * $Author: jsp $
  513.    */
  514.   
  515. ***************
  516. *** 57,63 ****
  517.     setlinewidth(1.0);
  518.     comment("Drawing Axis");
  519.     gsave();
  520. !   printf("%f setgray\n", a->gray);
  521.     if (a->draw_axis_line) {
  522.       printline(0.0, a->draw_at, a->psize, a->draw_at, orientation);
  523.     }
  524. --- 57,63 ----
  525.     setlinewidth(1.0);
  526.     comment("Drawing Axis");
  527.     gsave();
  528. !   setgray(a->graytype, a->gray);
  529.     if (a->draw_axis_line) {
  530.       printline(0.0, a->draw_at, a->psize, a->draw_at, orientation);
  531.     }
  532. ***************
  533. *** 81,88 ****
  534.         draw_label(a->hl);
  535.       }
  536.     }
  537. !   if (a->grid_lines) {
  538. !     for (h = first(a->hash_lines); h != nil(a->hash_lines); h = next(h)) {
  539.         printline(h->loc, 0.0, h->loc, other->psize, orientation);
  540.       }
  541.     }
  542. --- 81,88 ----
  543.         draw_label(a->hl);
  544.       }
  545.     }
  546. !   for (h = first(a->hash_lines); h != nil(a->hash_lines); h = next(h)) {
  547. !     if ((h->major && a->grid_lines) || (!h->major && a->mgrid_lines)) {
  548.         printline(h->loc, 0.0, h->loc, other->psize, orientation);
  549.       }
  550.     }
  551. ***************
  552. *** 138,144 ****
  553.      float this_x, this_y, last_x, last_y;
  554.   
  555.     gsave();
  556. !   printf("%f setgray\n", c->gray);
  557.     if (c->clip) set_clip(g);
  558.     comment("Drawing Curve");
  559.     if (c->linetype != '0') {
  560. --- 138,144 ----
  561.      float this_x, this_y, last_x, last_y;
  562.   
  563.     gsave();
  564. !   setgray(c->graytype, c->gray);
  565.     if (c->clip) set_clip(g);
  566.     comment("Drawing Curve");
  567.     if (c->linetype != '0') {
  568. ***************
  569. *** 228,240 ****
  570.                 cont_poly(x+ms0, y-ms1);
  571.                 cont_poly(x+ms0, y+ms1);
  572.                 cont_poly(x-ms0, y+ms1);
  573. !               end_poly(c->fill);
  574.                 break;
  575.       case 'd': start_poly(x-ms0, y);
  576.                 cont_poly(x, y-ms1);
  577.                 cont_poly(x+ms0, y);
  578.                 cont_poly(x, y+ms1);
  579. !               end_poly(c->fill);
  580.                 break;
  581.       case 'g': p = first(c->general_marks);
  582.                 if (p == nil(c->general_marks)) return;
  583. --- 228,240 ----
  584.                 cont_poly(x+ms0, y-ms1);
  585.                 cont_poly(x+ms0, y+ms1);
  586.                 cont_poly(x-ms0, y+ms1);
  587. !               end_poly(c->filltype, c->fill);
  588.                 break;
  589.       case 'd': start_poly(x-ms0, y);
  590.                 cont_poly(x, y-ms1);
  591.                 cont_poly(x+ms0, y);
  592.                 cont_poly(x, y+ms1);
  593. !               end_poly(c->filltype, c->fill);
  594.                 break;
  595.       case 'g': p = first(c->general_marks);
  596.                 if (p == nil(c->general_marks)) return;
  597. ***************
  598. *** 242,272 ****
  599.                 start_poly(x+p->x*ms0, y+p->y*ms1);
  600.                 for(p = next(p); p != nil(c->general_marks); p = next(p))
  601.                   cont_poly(x+p->x*ms0, y+p->y*ms1);
  602. !               end_poly(c->fill);
  603.                 break;
  604.       case 'x': printline(x-ms0, y-ms1, x+ms0, y+ms1, 'x');
  605.                 printline(x-ms0, y+ms1, x+ms0, y-ms1, 'x');
  606.                 break;
  607. !     case 'o': printellipse(x, y, ms0, ms0, c->fill);
  608.                 break;
  609. !     case 'e': printellipse(x, y, ms0, ms1, c->fill);
  610.                 break;
  611.       case 't': start_poly(x+ms0, y-ms1);
  612.                 cont_poly(x, y+ms1);
  613.                 cont_poly(x-ms0, y-ms1);
  614. !               end_poly(c->fill);
  615.                 break;
  616.       case 'X': start_poly(x+ms0, y);
  617.                 cont_poly(x-ms0, y);
  618.                 cont_poly(x-ms0, g->x_axis->draw_at);
  619.                 cont_poly(x+ms0, g->x_axis->draw_at);
  620. !               end_poly(c->fill);
  621.                 break;
  622.       case 'Y': start_poly(x, y+ms1);
  623.                 cont_poly(x, y-ms1);
  624.                 cont_poly(g->y_axis->draw_at, y-ms1);
  625.                 cont_poly(g->y_axis->draw_at, y+ms1);
  626. !               end_poly(c->fill);
  627.                 break;
  628.       case 'l': c->lmark->x += x;
  629.                 c->lmark->y += y;
  630. --- 242,272 ----
  631.                 start_poly(x+p->x*ms0, y+p->y*ms1);
  632.                 for(p = next(p); p != nil(c->general_marks); p = next(p))
  633.                   cont_poly(x+p->x*ms0, y+p->y*ms1);
  634. !               end_poly(c->filltype, c->fill);
  635.                 break;
  636.       case 'x': printline(x-ms0, y-ms1, x+ms0, y+ms1, 'x');
  637.                 printline(x-ms0, y+ms1, x+ms0, y-ms1, 'x');
  638.                 break;
  639. !     case 'o': printellipse(x, y, ms0, ms0, c->filltype, c->fill);
  640.                 break;
  641. !     case 'e': printellipse(x, y, ms0, ms1, c->filltype, c->fill);
  642.                 break;
  643.       case 't': start_poly(x+ms0, y-ms1);
  644.                 cont_poly(x, y+ms1);
  645.                 cont_poly(x-ms0, y-ms1);
  646. !               end_poly(c->filltype, c->fill);
  647.                 break;
  648.       case 'X': start_poly(x+ms0, y);
  649.                 cont_poly(x-ms0, y);
  650.                 cont_poly(x-ms0, g->x_axis->draw_at);
  651.                 cont_poly(x+ms0, g->x_axis->draw_at);
  652. !               end_poly(c->filltype, c->fill);
  653.                 break;
  654.       case 'Y': start_poly(x, y+ms1);
  655.                 cont_poly(x, y-ms1);
  656.                 cont_poly(g->y_axis->draw_at, y-ms1);
  657.                 cont_poly(g->y_axis->draw_at, y+ms1);
  658. !               end_poly(c->filltype, c->fill);
  659.                 break;
  660.       case 'l': c->lmark->x += x;
  661.                 c->lmark->y += y;
  662. ***************
  663. *** 315,321 ****
  664.     start_poly(0.0, 0.0);
  665.     cont_poly(-(c->asize[0]), (c->asize[1]));
  666.     cont_poly(-(c->asize[0]), -(c->asize[1]));
  667. !   end_poly(c->fill);
  668.     grestore();
  669.     printf("\n");
  670.   }
  671. --- 315,321 ----
  672.     start_poly(0.0, 0.0);
  673.     cont_poly(-(c->asize[0]), (c->asize[1]));
  674.     cont_poly(-(c->asize[0]), -(c->asize[1]));
  675. !   end_poly(c->filltype, c->fill);
  676.     grestore();
  677.     printf("\n");
  678.   }
  679. ***************
  680. *** 334,340 ****
  681.     for (c = first(g->curves); c != nil(g->curves); c = next(c)) {
  682.       if (c->l->label != CNULL) {
  683.         gsave();
  684. !       printf("%f setgray\n", c->gray);
  685.         y = c->l->y - (c->l->fontsize / 2.0 * FCPI / FPPI);
  686.         if (l->anylines) {
  687.           if (c->linetype != '0' && l->linelength != 0) {
  688. --- 334,340 ----
  689.     for (c = first(g->curves); c != nil(g->curves); c = next(c)) {
  690.       if (c->l->label != CNULL) {
  691.         gsave();
  692. !       setgray(c->graytype, c->gray);
  693.         y = c->l->y - (c->l->fontsize / 2.0 * FCPI / FPPI);
  694.         if (l->anylines) {
  695.           if (c->linetype != '0' && l->linelength != 0) {
  696. ***************
  697. *** 443,448 ****
  698. --- 443,449 ----
  699.     }
  700.     printf("1 setlinecap 1 setlinejoin\n");
  701.     printf("0.700 setlinewidth\n");
  702. +   printf("0.00 setgray\n");
  703.     gsave();
  704.     setfont("Times-Roman", 9.00);
  705.   }
  706. *** ../work/edit.c    Tue Feb 25 22:26:47 1992
  707. --- edit.c    Tue Feb 25 22:28:22 1992
  708. ***************
  709. *** 1,7 ****
  710.   /* 
  711.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/edit.c,v $
  712. !  * $Revision: 7.3 $
  713. !  * $Date: 92/02/04 12:20:49 $
  714.    * $Author: jsp $
  715.    */
  716.   
  717. --- 1,7 ----
  718.   /* 
  719.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/edit.c,v $
  720. !  * $Revision: 7.5 $
  721. !  * $Date: 92/02/10 10:36:50 $
  722.    * $Author: jsp $
  723.    */
  724.   
  725. ***************
  726. *** 65,71 ****
  727.     copy_label(c1->lmark, c2->lmark);
  728.     c1->l->label = CNULL;
  729.     c1->clip = c2->clip;
  730. -   c1->gray = c2->gray;
  731.     for (f = first(c2->gen_linetype); 
  732.          f != nil(c2->gen_linetype); 
  733.          f = next(f)) {
  734. --- 65,70 ----
  735. ***************
  736. *** 86,92 ****
  737.       newp->y = p->y;
  738.       insert(newp, c1->general_marks);
  739.     }
  740. !   c1->fill = c2->fill;
  741.     c1->rarrows = c2->rarrows;
  742.     c1->larrows = c2->larrows;
  743.     c1->asize[0] = c2->asize[0];
  744. --- 85,98 ----
  745.       newp->y = p->y;
  746.       insert(newp, c1->general_marks);
  747.     }
  748. !   c1->graytype = c2->graytype;
  749. !   c1->gray[0] = c2->gray[0];
  750. !   c1->gray[1] = c2->gray[1];
  751. !   c1->gray[2] = c2->gray[2];
  752. !   c1->filltype = c2->filltype;
  753. !   c1->fill[0] = c2->fill[0];
  754. !   c1->fill[1] = c2->fill[1];
  755. !   c1->fill[2] = c2->fill[2];
  756.     c1->rarrows = c2->rarrows;
  757.     c1->larrows = c2->larrows;
  758.     c1->asize[0] = c2->asize[0];
  759. ***************
  760. *** 131,138 ****
  761.     a1->auto_hash_marks = a2->auto_hash_marks;
  762.     a1->minor_hashes = a2->minor_hashes;
  763.     a1->hash_scale = a2->hash_scale;
  764. !   a1->gray = a2->gray;
  765.     a1->grid_lines = a2->grid_lines;
  766.     a1->precision = a2->precision;
  767.     a1->start_given = a2->start_given;
  768.     a1->is_lg = a2->is_lg;
  769. --- 137,148 ----
  770.     a1->auto_hash_marks = a2->auto_hash_marks;
  771.     a1->minor_hashes = a2->minor_hashes;
  772.     a1->hash_scale = a2->hash_scale;
  773. !   a1->graytype = a2->graytype;
  774. !   a1->gray[0] = a2->gray[0];
  775. !   a1->gray[1] = a2->gray[1];
  776. !   a1->gray[2] = a2->gray[2];
  777.     a1->grid_lines = a2->grid_lines;
  778. +   a1->mgrid_lines = a2->mgrid_lines;
  779.     a1->precision = a2->precision;
  780.     a1->start_given = a2->start_given;
  781.     a1->is_lg = a2->is_lg;
  782. ***************
  783. *** 339,345 ****
  784.         }
  785.         rejecttoken();
  786.       } else if (strcmp(inp_str, "fill") == 0) {
  787. !       if (!getfloat(&f)) rejecttoken(); else c->fill = f;
  788.       } else if (strcmp(inp_str, "marktype") == 0) {
  789.         if (!getstring(inp_str)) return;
  790.         for (i = 0; i < NMARKTYPES && strcmp(inp_str, MARKTYPESTRS[i]) != 0; i++) ;
  791. --- 349,369 ----
  792.         }
  793.         rejecttoken();
  794.       } else if (strcmp(inp_str, "fill") == 0) {
  795. !     if (!getfloat(&f)) rejecttoken(); else {
  796. !       /* grey fill */
  797. !       c->filltype = 'g';
  798. !           c->fill[0] = f;
  799. !     }
  800. !     } else if (strcmp(inp_str, "cfill") == 0) {
  801. !      /* color fill */
  802. !     c->filltype = 'c';
  803. !     for( i = 0 ; i < 3 ; i++ )  {
  804. !       if(!getfloat(&f)) { 
  805. !         rejecttoken(); 
  806. !          c->filltype = 'n';
  807. !             break ;
  808. !       } else c->fill[i] = f ;
  809. !     }
  810.       } else if (strcmp(inp_str, "marktype") == 0) {
  811.         if (!getstring(inp_str)) return;
  812.         for (i = 0; i < NMARKTYPES && strcmp(inp_str, MARKTYPESTRS[i]) != 0; i++) ;
  813. ***************
  814. *** 384,390 ****
  815.       } else if (strcmp(inp_str, "linethickness") == 0) {
  816.         if (!getfloat(&f)) rejecttoken(); else c->linethick = f;
  817.       } else if (strcmp(inp_str, "gray") == 0) {
  818. !       if (!getfloat(&f)) rejecttoken(); else c->gray = f;
  819.       } else if (strcmp(inp_str, "larrows") == 0) {
  820.         c->larrows = 1;
  821.       } else if (strcmp(inp_str, "nolarrows") == 0) {
  822. --- 408,426 ----
  823.       } else if (strcmp(inp_str, "linethickness") == 0) {
  824.         if (!getfloat(&f)) rejecttoken(); else c->linethick = f;
  825.       } else if (strcmp(inp_str, "gray") == 0) {
  826. !         if (!getfloat(&f)) rejecttoken(); else {
  827. !           c->graytype = 'g';
  828. !           c->gray[0] = f;
  829. !         }
  830. !     } else if (strcmp(inp_str, "color") == 0) {
  831. !         c->graytype = 'c';
  832. !         for( i = 0 ; i < 3 ; i++ )  {
  833. !           if(!getfloat(&f)) {
  834. !             rejecttoken();
  835. !             c->graytype = 'n';
  836. !             break ;
  837. !           } else c->gray[i] = f ;
  838. !         }
  839.       } else if (strcmp(inp_str, "larrows") == 0) {
  840.         c->larrows = 1;
  841.       } else if (strcmp(inp_str, "nolarrows") == 0) {
  842. ***************
  843. *** 513,519 ****
  844.         if (getfloat(&f)) {
  845.           h = (Hash) get_node (a->hash_lines);
  846.           h->loc = f;
  847. !         h->size = (inp_str[0] == 'h') ? HASH_SIZE : MHASH_SIZE;
  848.           insert(h, a->hash_lines);
  849.         } else rejecttoken();
  850.       } else if (strcmp(inp_str, "hash_label") == 0) {
  851. --- 549,556 ----
  852.         if (getfloat(&f)) {
  853.           h = (Hash) get_node (a->hash_lines);
  854.           h->loc = f;
  855. !         h->major = (inp_str[0] == 'h');
  856. !         h->size = h->major ? HASH_SIZE : MHASH_SIZE;
  857.           insert(h, a->hash_lines);
  858.         } else rejecttoken();
  859.       } else if (strcmp(inp_str, "hash_label") == 0) {
  860. ***************
  861. *** 556,563 ****
  862.         a->grid_lines = 0;
  863.       } else if (strcmp(inp_str, "grid_lines") == 0) {
  864.         a->grid_lines = 1;
  865.       } else if (strcmp(inp_str, "gray") == 0) {
  866. !       if ( getfloat(&f)) a->gray = f; else rejecttoken();
  867.       } else {
  868.         rejecttoken(); 
  869.         return;
  870. --- 593,616 ----
  871.         a->grid_lines = 0;
  872.       } else if (strcmp(inp_str, "grid_lines") == 0) {
  873.         a->grid_lines = 1;
  874. +     } else if (strcmp(inp_str, "no_mgrid_lines") == 0) {
  875. +       a->mgrid_lines = 0;
  876. +     } else if (strcmp(inp_str, "mgrid_lines") == 0) {
  877. +       a->mgrid_lines = 1;
  878.       } else if (strcmp(inp_str, "gray") == 0) {
  879. !       if (!getfloat(&f)) rejecttoken(); else {
  880. !         a->graytype = 'g';
  881. !         a->gray[0] = f;
  882. !       }
  883. !     } else if (strcmp(inp_str, "color") == 0) {
  884. !       a->graytype = 'c';
  885. !       for( i = 0 ; i < 3 ; i++ )  {
  886. !         if(!getfloat(&f)) {
  887. !           rejecttoken();
  888. !           a->graytype = 'n';
  889. !           break ;
  890. !         } else a->gray[i] = f ;
  891. !       }
  892.       } else {
  893.         rejecttoken(); 
  894.         return;
  895. *** ../work/gpaper.jgr    Tue Feb 25 22:26:48 1992
  896. --- gpaper.jgr    Tue Feb 25 22:28:27 1992
  897. ***************
  898. *** 1,24 ****
  899.   newgraph
  900.   
  901. ! xaxis size 8 min 0 max 8 hash 1 mhash 9 
  902. ! yaxis size 10.5 min 0 max 10.5 hash 1 mhash 9
  903.   
  904. ! newgraph
  905. ! inherit_axes
  906.   
  907.   xaxis hash_scale 1
  908.   yaxis hash_scale 1
  909.   
  910. ! newgraph
  911. ! inherit_axes
  912. ! xaxis gray .5 grid_lines 
  913. ! yaxis gray .5 grid_lines
  914. ! newgraph 
  915. ! inherit_axes
  916. ! xaxis gray 0 mhash 0 grid_lines
  917. ! yaxis gray 0 mhash 0 grid_lines
  918.   
  919. --- 1,14 ----
  920.   newgraph
  921.   
  922. ! xaxis size 7 min 0 max 7 hash 1 mhash 9  grid_lines
  923. ! yaxis size 9 min 0 max 9 hash 1 mhash 9 grid_lines
  924.   
  925. ! copygraph
  926.   
  927.   xaxis hash_scale 1
  928.   yaxis hash_scale 1
  929.   
  930. ! copygraph
  931. ! xaxis gray .5 nodraw no_grid_lines mgrid_lines 
  932. ! yaxis gray .5 nodraw no_grid_lines mgrid_lines
  933.   
  934. *** ../work/jgraph.1    Tue Feb 25 22:26:49 1992
  935. --- jgraph.1    Tue Feb 25 22:28:29 1992
  936. ***************
  937. *** 597,605 ****
  938.   .TP
  939.   \fBno_grid_lines\fR
  940.   \fBGrid_lines\fR
  941. ! specifies to plot a grid line at each (major and minor) hash
  942.   mark on this axis.  The default is 
  943.   \fBno_grid_lines.\fR
  944.   .PD
  945.   .RE
  946.   .LP
  947. --- 597,615 ----
  948.   .TP
  949.   \fBno_grid_lines\fR
  950.   \fBGrid_lines\fR
  951. ! specifies to plot a grid line at each major hash
  952.   mark on this axis.  The default is 
  953.   \fBno_grid_lines.\fR
  954. + .TP
  955. + \fBmgrid_lines\fR
  956. + .br
  957. + .ns
  958. + .TP
  959. + \fBno_mgrid_lines\fR
  960. + \fBGrid_lines\fR
  961. + specifies to plot a grid line at each minor hash
  962. + mark on this axis.  The default is 
  963. + \fBno_mgrid_lines.\fR
  964.   .PD
  965.   .RE
  966.   .LP
  967. ***************
  968. *** 657,672 ****
  969.   \fBjgraph\fR
  970.   .TP
  971.   \fBgray \|[\fIfloat\fB\|]\fR   
  972. ! This specifies the gray scale in which to draw the curve (i.e. the
  973. ! curve's marks, lines, and arrows).  0.0 (The default) is black.
  974. ! 1.0 is white.
  975.   .TP
  976.   \fBfill \|[\fIfloat\fB\|]\fR   
  977.   This sets the filling of marks which define an area
  978. ! to fill (e.g.  ``box'', ``circle'', ``xbar'').  1.0 fills the mark with
  979. ! white.  0.0 fills it with black.  Anything in between is differing
  980. ! levels of gray.  Anything negative fills it with nothing (i.e.  makes
  981. ! it see-through).  The default is 0 (black).
  982.   .TP
  983.   \fBgmarks \|[\|{\fIfloat\fB\|} \|{\fIfloat\fB\|}\|]*\fR   
  984.   \fBGmarks\fR
  985. --- 667,704 ----
  986.   \fBjgraph\fR
  987.   .TP
  988.   \fBgray \|[\fIfloat\fB\|]\fR   
  989. ! .br
  990. ! .ns
  991.   .TP
  992. + \fBcolor \|[\fIfloat\fB \fIfloat\fB \fIfloat\fB\|]\fR   
  993. + These specify either the grayness of the curve or its color.  Values 
  994. + for 
  995. + \fBgray\fR   
  996. + should be from 0 (black) to 1 (white).  Values for
  997. + \fBcolor\fR   
  998. + should also be from 0 to 1.  They are RGB values, and thus define the 
  999. + amount of red, green and blue in the curve respectively.  Specifying
  1000. + color nullifies the gray value, and vice versa.  The default is 
  1001. + \fBgray 0\fR.
  1002. + .TP
  1003.   \fBfill \|[\fIfloat\fB\|]\fR   
  1004. + .br
  1005. + .ns
  1006. + .TP
  1007. + \fBcfill \|[\fIfloat\fB\| \|\fIfloat\fB\| \|\fIfloat\fB\|]\fR   
  1008.   This sets the filling of marks which define an area
  1009. ! to fill (e.g.  ``box'', ``circle'', ``xbar'').  
  1010. ! \fBfill\fR   
  1011. ! defines a gray value, and 
  1012. ! \fBcfill\fR   
  1013. ! defines a color value (see 
  1014. ! \fBgray\fR   
  1015. ! and
  1016. ! \fBcolor\fR   
  1017. ! above for a description of the units).
  1018. ! The default is 
  1019. ! \fBfill 0\fR   
  1020. ! (black).
  1021.   .TP
  1022.   \fBgmarks \|[\|{\fIfloat\fB\|} \|{\fIfloat\fB\|}\|]*\fR   
  1023.   \fBGmarks\fR
  1024. ***************
  1025. *** 944,954 ****
  1026.   marks, labels, axes, etc.
  1027.   .RS
  1028.   .TP
  1029. ! \fBgray \|[\fIfloat\fB\|]\fR   
  1030. ! This specifies a gray-scale for drawing the axes (axis lines, hash
  1031. ! marks, hash labels and grid lines).  The default is 0.0 (black). 
  1032. ! 1.0 is white.
  1033.   .TP
  1034.   \fBhash_at \|[\fIfloat\fB\|]\fR   
  1035.   Draw a hash mark at this point.  No label is
  1036.   made for this hash mark.
  1037. --- 976,997 ----
  1038.   marks, labels, axes, etc.
  1039.   .RS
  1040.   .TP
  1041. ! \fBgray \|[\fIfloat\fB\|]\fR
  1042. ! .br
  1043. ! .ns
  1044.   .TP
  1045. + \fBcolor \|[\fIfloat\fB \fIfloat\fB \fIfloat\fB\|]\fR
  1046. + These specify either the grayness of the axis or its color.  Values
  1047. + for
  1048. + \fBgray\fR
  1049. + should be from 0 (black) to 1 (white).  Values for
  1050. + \fBcolor\fR
  1051. + should also be from 0 to 1.  They are RGB values, and thus define the
  1052. + amount of red, green and blue in the axis respectively.  Specifying
  1053. + color nullifies the gray value, and vice versa.  The default is
  1054. + \fBgray 0\fR.  These values affect every part of the axis:  the label,
  1055. + the hash marks and labels, the axis line and the grid lines.
  1056. + .TP
  1057.   \fBhash_at \|[\fIfloat\fB\|]\fR   
  1058.   Draw a hash mark at this point.  No label is
  1059.   made for this hash mark.
  1060. ***************
  1061. *** 1216,1219 ****
  1062.   .sp
  1063.   There may well be loads of other bugs.  Send to jsp@princeton.edu.
  1064.   .sp
  1065. ! This is $Revision: 7.3 $.
  1066. --- 1259,1262 ----
  1067.   .sp
  1068.   There may well be loads of other bugs.  Send to jsp@princeton.edu.
  1069.   .sp
  1070. ! This is $Revision: 7.5 $.
  1071. *** ../work/jgraph.c    Tue Feb 25 22:26:51 1992
  1072. --- jgraph.c    Tue Feb 25 22:28:30 1992
  1073. ***************
  1074. *** 1,7 ****
  1075.   /* 
  1076.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.c,v $
  1077. !  * $Revision: 7.3 $
  1078. !  * $Date: 92/02/04 12:20:57 $
  1079.    * $Author: jsp $
  1080.    */
  1081.   
  1082. --- 1,7 ----
  1083.   /* 
  1084.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.c,v $
  1085. !  * $Revision: 7.5 $
  1086. !  * $Date: 92/02/10 10:36:56 $
  1087.    * $Author: jsp $
  1088.    */
  1089.   
  1090. ***************
  1091. *** 51,57 ****
  1092.     new_c->lmark->hj = 'c';
  1093.     new_c->lmark->vj = 'c';
  1094.     new_c->clip = 0;
  1095. !   new_c->gray = 0.0;
  1096.     
  1097.     new_c->pts = (Point) make_list(sizeof(struct point));
  1098.     new_c->npts = 0;
  1099. --- 51,60 ----
  1100.     new_c->lmark->hj = 'c';
  1101.     new_c->lmark->vj = 'c';
  1102.     new_c->clip = 0;
  1103. !   new_c->graytype = 'n';
  1104. !   new_c->gray[0] = 0.0;
  1105. !   new_c->gray[1] = 0.0;
  1106. !   new_c->gray[2] = 0.0;
  1107.     
  1108.     new_c->pts = (Point) make_list(sizeof(struct point));
  1109.     new_c->npts = 0;
  1110. ***************
  1111. *** 62,68 ****
  1112.     new_c->marksize[0] = FSIG;
  1113.     new_c->marksize[1] = FSIG;
  1114.     new_c->general_marks = (Point) make_list(sizeof(struct point));
  1115. !   new_c->fill = 0.0;
  1116.     new_c->rarrows = 0;
  1117.     new_c->larrows = 0;
  1118.     new_c->asize[0] = FSIG;
  1119. --- 65,74 ----
  1120.     new_c->marksize[0] = FSIG;
  1121.     new_c->marksize[1] = FSIG;
  1122.     new_c->general_marks = (Point) make_list(sizeof(struct point));
  1123. !   new_c->filltype = 'n';
  1124. !   new_c->fill[0] = 0.0;
  1125. !   new_c->fill[1] = 0.0;
  1126. !   new_c->fill[2] = 0.0;
  1127.     new_c->rarrows = 0;
  1128.     new_c->larrows = 0;
  1129.     new_c->asize[0] = FSIG;
  1130. ***************
  1131. *** 135,141 ****
  1132.     a->start_given = 0;
  1133.     a->hash_scale = -1.0;
  1134.     a->grid_lines = 0;
  1135. !   a->gray = 0.0;
  1136.     a->is_x = is_x;
  1137.     a->is_lg = 0;
  1138.     a->hash_labels = (String) make_list (sizeof(struct string));
  1139. --- 141,151 ----
  1140.     a->start_given = 0;
  1141.     a->hash_scale = -1.0;
  1142.     a->grid_lines = 0;
  1143. !   a->mgrid_lines = 0;
  1144. !   a->graytype = 'n';
  1145. !   a->gray[0] = 0.0;
  1146. !   a->gray[1] = 0.0;
  1147. !   a->gray[2] = 0.0;
  1148.     a->is_x = is_x;
  1149.     a->is_lg = 0;
  1150.     a->hash_labels = (String) make_list (sizeof(struct string));
  1151. *** ../work/jgraph.h    Tue Feb 25 22:26:52 1992
  1152. --- jgraph.h    Tue Feb 25 22:28:31 1992
  1153. ***************
  1154. *** 1,7 ****
  1155.   /* 
  1156.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.h,v $
  1157. !  * $Revision: 7.3 $
  1158. !  * $Date: 92/02/04 12:21:00 $
  1159.    * $Author: jsp $
  1160.    */
  1161.   
  1162. --- 1,7 ----
  1163.   /* 
  1164.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/jgraph.h,v $
  1165. !  * $Revision: 7.5 $
  1166. !  * $Date: 92/02/10 10:37:00 $
  1167.    * $Author: jsp $
  1168.    */
  1169.   
  1170. ***************
  1171. *** 55,64 ****
  1172.     int npts;
  1173.     Point general_marks;
  1174.     float marksize[2];
  1175. !   float fill;
  1176. !   float gray;
  1177.     float linethick;
  1178.     Flist gen_linetype;
  1179.     char marktype;
  1180.     char linetype;
  1181.     int rarrows;
  1182. --- 55,66 ----
  1183.     int npts;
  1184.     Point general_marks;
  1185.     float marksize[2];
  1186. !   float fill[3];
  1187. !   float gray[3];
  1188.     float linethick;
  1189.     Flist gen_linetype;
  1190. +   char graytype ;
  1191. +   char filltype ;
  1192.     char marktype;
  1193.     char linetype;
  1194.     int rarrows;
  1195. ***************
  1196. *** 80,85 ****
  1197. --- 82,88 ----
  1198.     struct hash *blink;
  1199.     float loc;
  1200.     float size;
  1201. +   int major;
  1202.   } *Hash;
  1203.   
  1204.   typedef struct deflt {
  1205. ***************
  1206. *** 114,121 ****
  1207.     float draw_hash_marks_at;
  1208.     float draw_hash_labels_at;
  1209.     float draw_at;
  1210. !   float gray;
  1211.     int grid_lines;
  1212.     int draw_hash_labels;
  1213.     int draw_axis_line;
  1214.     int draw_hash_marks;
  1215. --- 117,126 ----
  1216.     float draw_hash_marks_at;
  1217.     float draw_hash_labels_at;
  1218.     float draw_at;
  1219. !   float gray[3];
  1220. !   char graytype;
  1221.     int grid_lines;
  1222. +   int mgrid_lines;
  1223.     int draw_hash_labels;
  1224.     int draw_axis_line;
  1225.     int draw_hash_marks;
  1226. *** ../work/list.c    Tue Feb 25 22:26:53 1992
  1227. --- list.c    Tue Feb 25 22:28:31 1992
  1228. ***************
  1229. *** 1,7 ****
  1230.   /* 
  1231.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.c,v $
  1232. !  * $Revision: 7.3 $
  1233. !  * $Date: 92/02/04 12:21:02 $
  1234.    * $Author: jsp $
  1235.    */
  1236.   
  1237. --- 1,7 ----
  1238.   /* 
  1239.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.c,v $
  1240. !  * $Revision: 7.5 $
  1241. !  * $Date: 92/02/10 10:37:01 $
  1242.    * $Author: jsp $
  1243.    */
  1244.   
  1245. *** ../work/list.h    Tue Feb 25 22:26:54 1992
  1246. --- list.h    Tue Feb 25 22:28:32 1992
  1247. ***************
  1248. *** 1,7 ****
  1249.   /* 
  1250.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.h,v $
  1251. !  * $Revision: 7.3 $
  1252. !  * $Date: 92/02/04 12:21:04 $
  1253.    * $Author: jsp $
  1254.    */
  1255.   
  1256. --- 1,7 ----
  1257.   /* 
  1258.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/list.h,v $
  1259. !  * $Revision: 7.5 $
  1260. !  * $Date: 92/02/10 10:37:03 $
  1261.    * $Author: jsp $
  1262.    */
  1263.   
  1264. *** ../work/printline.c    Tue Feb 25 22:26:55 1992
  1265. --- printline.c    Tue Feb 25 22:28:33 1992
  1266. ***************
  1267. *** 1,7 ****
  1268.   /* 
  1269.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/printline.c,v $
  1270. !  * $Revision: 7.3 $
  1271. !  * $Date: 92/02/04 12:21:40 $
  1272.    * $Author: jsp $
  1273.    */
  1274.   
  1275. --- 1,7 ----
  1276.   /* 
  1277.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/printline.c,v $
  1278. !  * $Revision: 7.5 $
  1279. !  * $Date: 92/02/10 10:37:06 $
  1280.    * $Author: jsp $
  1281.    */
  1282.   
  1283. ***************
  1284. *** 74,79 ****
  1285. --- 74,103 ----
  1286.     }
  1287.   }
  1288.     
  1289. + setfill( t, f)
  1290. + char t ;
  1291. + float f[] ;
  1292. + {
  1293. +     if ( t == 'g' )  {
  1294. +        if( f[0] >= 0.0 ) printf("gsave %f setgray fill grestore ", f[0] );
  1295. +     } else if ( t == 'c' )  {
  1296. +        printf("gsave %f %f %f setrgbcolor fill grestore ", f[0], f[1], f[2] );
  1297. +     } else {
  1298. +        printf("fill ");
  1299. +     }
  1300. + }
  1301. + setgray( t, f)
  1302. + char t ;
  1303. + float f[] ;
  1304. + {
  1305. +     if ( t == 'g' )  {
  1306. +        if( f[0] >= 0.0 ) printf("%f setgray\n", f[0] );
  1307. +     } else if ( t == 'c' )  {
  1308. +        printf("%f %f %f setrgbcolor\n", f[0], f[1], f[2] );
  1309. +     }
  1310. + }
  1311.   printline(x1, y1,x2, y2, orientation)
  1312.   float x1, y1, x2, y2;
  1313.   char orientation;
  1314. ***************
  1315. *** 133,156 ****
  1316.     printf("  %f %f lineto\n", x1, y1);
  1317.   }
  1318.   
  1319. ! end_poly(fill)
  1320. ! float fill;
  1321.   {
  1322. !   if (fill < 0.0) printf("closepath stroke\n");
  1323. !   else {
  1324. !     printf("closepath gsave");
  1325. !     printf(" %f setgray fill ", fill);
  1326. !     printf("grestore stroke\n");
  1327. !   }
  1328.   }
  1329.   
  1330. ! printellipse(x, y, radius1, radius2, fill)
  1331. ! float x, y, radius1, radius2, fill;
  1332.   {
  1333.     printf("newpath %f %f %f %f 0 360 DrawEllipse ", x, y, radius1, radius2);
  1334. !   if (fill < 0)
  1335. !     printf("stroke\n");
  1336. !     else printf("gsave  %f setgray fill grestore stroke\n", fill);
  1337.   }
  1338.   
  1339.   set_comment(c)
  1340. --- 157,178 ----
  1341.     printf("  %f %f lineto\n", x1, y1);
  1342.   }
  1343.   
  1344. ! end_poly(ftype, fill)
  1345. ! char  ftype ;
  1346. ! float fill[];
  1347.   {
  1348. !   printf("closepath ");
  1349. !   setfill( ftype, fill );
  1350. !   printf("stroke\n");
  1351.   }
  1352.   
  1353. ! printellipse(x, y, radius1, radius2, ftype, fill)
  1354. ! char ftype ;
  1355. ! float x, y, radius1, radius2, fill[];
  1356.   {
  1357.     printf("newpath %f %f %f %f 0 360 DrawEllipse ", x, y, radius1, radius2);
  1358. !   setfill( ftype, fill );
  1359. !   printf("stroke\n");
  1360.   }
  1361.   
  1362.   set_comment(c)
  1363. ***************
  1364. *** 196,202 ****
  1365.     } else if (vj == 't') {
  1366.       printf("0 %f rmoveto ", -size * FCPI / FPPI);
  1367.     }
  1368. !   printf("show grestore\n", r);
  1369.   }
  1370.   
  1371.   setlinewidth(size)
  1372. --- 218,224 ----
  1373.     } else if (vj == 't') {
  1374.       printf("0 %f rmoveto ", -size * FCPI / FPPI);
  1375.     }
  1376. !   printf("show grestore\n");
  1377.   }
  1378.   
  1379.   setlinewidth(size)
  1380. *** ../work/prio_list.c    Tue Feb 25 22:26:56 1992
  1381. --- prio_list.c    Tue Feb 25 22:28:34 1992
  1382. ***************
  1383. *** 1,7 ****
  1384.   /* 
  1385.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.c,v $
  1386. !  * $Revision: 7.3 $
  1387. !  * $Date: 92/02/04 12:21:41 $
  1388.    * $Author: jsp $
  1389.    */
  1390.   
  1391. --- 1,7 ----
  1392.   /* 
  1393.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.c,v $
  1394. !  * $Revision: 7.5 $
  1395. !  * $Date: 92/02/10 10:37:08 $
  1396.    * $Author: jsp $
  1397.    */
  1398.   
  1399. *** ../work/prio_list.h    Tue Feb 25 22:26:58 1992
  1400. --- prio_list.h    Tue Feb 25 22:28:34 1992
  1401. ***************
  1402. *** 1,7 ****
  1403.   /* 
  1404.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.h,v $
  1405. !  * $Revision: 7.3 $
  1406. !  * $Date: 92/02/04 12:21:42 $
  1407.    * $Author: jsp $
  1408.    */
  1409.   
  1410. --- 1,7 ----
  1411.   /* 
  1412.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/prio_list.h,v $
  1413. !  * $Revision: 7.5 $
  1414. !  * $Date: 92/02/10 10:37:10 $
  1415.    * $Author: jsp $
  1416.    */
  1417.   
  1418. *** ../work/process.c    Tue Feb 25 22:26:59 1992
  1419. --- process.c    Tue Feb 25 22:28:36 1992
  1420. ***************
  1421. *** 1,7 ****
  1422.   /* 
  1423.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/process.c,v $
  1424. !  * $Revision: 7.3 $
  1425. !  * $Date: 92/02/04 12:21:43 $
  1426.    * $Author: jsp $
  1427.    */
  1428.   
  1429. --- 1,7 ----
  1430.   /* 
  1431.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/process.c,v $
  1432. !  * $Revision: 7.5 $
  1433. !  * $Date: 92/02/10 10:37:11 $
  1434.    * $Author: jsp $
  1435.    */
  1436.   
  1437. ***************
  1438. *** 224,230 ****
  1439.         exit(1);
  1440.       } else if (a->pmin <= 0.0 && a->is_lg) {
  1441.         error_header();
  1442. !       fprintf(stderr, "Graph %d: Trying to derive %c axis\n", AXIS_CHAR(a));
  1443.         fprintf(stderr, 
  1444.           "        Minimum value %f will be -infinity with log axes\n", a->pmin);
  1445.         exit(1);
  1446. --- 224,230 ----
  1447.         exit(1);
  1448.       } else if (a->pmin <= 0.0 && a->is_lg) {
  1449.         error_header();
  1450. !       fprintf(stderr, "Trying to derive %c axis\n", AXIS_CHAR(a));
  1451.         fprintf(stderr, 
  1452.           "        Minimum value %f will be -infinity with log axes\n", a->pmin);
  1453.         exit(1);
  1454. ***************
  1455. *** 240,246 ****
  1456.         exit(1);
  1457.       } else if (a->pmax <= 0.0 && a->is_lg) {
  1458.         error_header();
  1459. !       fprintf(stderr, "Graph %d: Trying to derive %c axis\n", AXIS_CHAR(a));
  1460.         fprintf(stderr, 
  1461.           "        Maximum value %f will be -infinity with log axes\n", a->pmax);
  1462.         exit(1);
  1463. --- 240,246 ----
  1464.         exit(1);
  1465.       } else if (a->pmax <= 0.0 && a->is_lg) {
  1466.         error_header();
  1467. !       fprintf(stderr, "Trying to derive %c axis\n", AXIS_CHAR(a));
  1468.         fprintf(stderr, 
  1469.           "        Maximum value %f will be -infinity with log axes\n", a->pmax);
  1470.         exit(1);
  1471. ***************
  1472. *** 318,323 ****
  1473. --- 318,324 ----
  1474.           h = (Hash) get_node(a->hash_lines);
  1475.           h->loc = hloc;
  1476.           h->size = HASH_SIZE;
  1477. +         h->major = 1;
  1478.           insert(h, a->hash_lines);
  1479.           if (a->auto_hash_labels) {
  1480.             s = (String) get_node (a->hash_labels);
  1481. ***************
  1482. *** 348,353 ****
  1483. --- 349,355 ----
  1484.             h = (Hash) get_node(a->hash_lines);
  1485.             h->loc = hloc;
  1486.             h->size = MHASH_SIZE;
  1487. +           h->major = 0;
  1488.             insert(h, a->hash_lines);
  1489.           }
  1490.         }
  1491. *** ../work/show.c    Tue Feb 25 22:27:00 1992
  1492. --- show.c    Tue Feb 25 22:28:38 1992
  1493. ***************
  1494. *** 1,7 ****
  1495.   /* 
  1496.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/show.c,v $
  1497. !  * $Revision: 7.3 $
  1498. !  * $Date: 92/02/04 12:21:46 $
  1499.    * $Author: jsp $
  1500.    */ 
  1501.   
  1502. --- 1,7 ----
  1503.   /* 
  1504.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/show.c,v $
  1505. !  * $Revision: 7.5 $
  1506. !  * $Date: 92/02/10 10:37:14 $
  1507.    * $Author: jsp $
  1508.    */ 
  1509.   
  1510. ***************
  1511. *** 111,117 ****
  1512.     }
  1513.     printf("marksize %f %f ", ptodist(c->marksize[0], g->x_axis), 
  1514.                               ptodist(c->marksize[1], g->y_axis));
  1515. !   printf("fill %f\n", c->fill);
  1516.     if (c->marktype == 'g') {
  1517.       spaces(nsp); printf("gmarks");
  1518.       for(p = first(c->general_marks); p != nil(c->general_marks); p = next(p))
  1519. --- 111,121 ----
  1520.     }
  1521.     printf("marksize %f %f ", ptodist(c->marksize[0], g->x_axis), 
  1522.                               ptodist(c->marksize[1], g->y_axis));
  1523. !   if (c->filltype == 'g') {
  1524. !      printf("fill %f\n", c->fill[0] );
  1525. !   } else if (c->filltype == 'c')  {
  1526. !      printf("cfill %f %f %f\n", c->fill[0], c->fill[1], c->fill[2] );
  1527. !   }
  1528.     if (c->marktype == 'g') {
  1529.       spaces(nsp); printf("gmarks");
  1530.       for(p = first(c->general_marks); p != nil(c->general_marks); p = next(p))
  1531. ***************
  1532. *** 147,153 ****
  1533.     }
  1534.     printf("linethickness %f\n", c->linethick);
  1535.     spaces(nsp); 
  1536. !   printf("gray %f ", c->gray);
  1537.     if(!c->clip) printf("no"); printf("clip ");
  1538.     if(!c->rarrows) printf("no"); printf("rarrows ");
  1539.     if(!c->larrows) printf("no"); printf("larrows ");
  1540. --- 151,161 ----
  1541.     }
  1542.     printf("linethickness %f\n", c->linethick);
  1543.     spaces(nsp); 
  1544. !   if (c->graytype == 'g') {
  1545. !     printf("gray %f ", c->gray[0]);
  1546. !   } else if (c->graytype == 'c') {
  1547. !     printf("color %f %f %f ", c->gray[0], c->gray[1], c->gray[2]);
  1548. !   }
  1549.     if(!c->clip) printf("no"); printf("clip ");
  1550.     if(!c->rarrows) printf("no"); printf("rarrows ");
  1551.     if(!c->larrows) printf("no"); printf("larrows ");
  1552. ***************
  1553. *** 189,197 ****
  1554.     spaces(nsp); 
  1555.     printf("%sgrid_lines\n", (a->grid_lines) ? "" : "no_");
  1556.     spaces(nsp); 
  1557.     printf("%sdraw_axis_label\n", (a->draw_axis_label) ? "" : "no_");
  1558.     spaces(nsp); 
  1559. !   printf("gray %f\n", a->gray);
  1560.     spaces(nsp);
  1561.   
  1562.     printf("(* The real settings for generating auto_hash_labels:\n");
  1563. --- 197,212 ----
  1564.     spaces(nsp); 
  1565.     printf("%sgrid_lines\n", (a->grid_lines) ? "" : "no_");
  1566.     spaces(nsp); 
  1567. +   printf("%smgrid_lines\n", (a->mgrid_lines) ? "" : "no_");
  1568. +   spaces(nsp); 
  1569.     printf("%sdraw_axis_label\n", (a->draw_axis_label) ? "" : "no_");
  1570.     spaces(nsp); 
  1571. !   if (a->graytype == 'g') {
  1572. !     printf("gray %f\n", a->gray[0]);
  1573. !   } else if (a->graytype == 'c') {
  1574. !     printf("color %f %f %f\n", a->gray[0], a->gray[1], a->gray[2]);
  1575. !   }
  1576.     spaces(nsp);
  1577.   
  1578.     printf("(* The real settings for generating auto_hash_labels:\n");
  1579. *** ../work/token.c    Tue Feb 25 22:27:01 1992
  1580. --- token.c    Tue Feb 25 22:28:49 1992
  1581. ***************
  1582. *** 1,7 ****
  1583.   /* 
  1584.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/token.c,v $
  1585. !  * $Revision: 7.3 $
  1586. !  * $Date: 92/02/04 12:21:47 $
  1587.    * $Author: jsp $
  1588.    */
  1589.   
  1590. --- 1,7 ----
  1591.   /* 
  1592.    * $Source: /n/fs/vd/jsp/src/jgraph/RCS/token.c,v $
  1593. !  * $Revision: 7.5 $
  1594. !  * $Date: 92/02/10 10:37:15 $
  1595.    * $Author: jsp $
  1596.    */
  1597.   
  1598.  
  1599. exit 0 # Just in case...
  1600.