home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / graphics / gnuplot / 438 < prev    next >
Encoding:
Text File  |  1992-11-23  |  8.9 KB  |  248 lines

  1. x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Mon, 23 Nov 1992 11:32:39 EST
  2. Date: Mon, 23 Nov 1992 08:14:55 PST
  3. From: woo@ra-next.arc.nasa.gov (Alex Woo x6010 227-6 rm 315)
  4. Message-ID: <9211231614.AA07098@ra-next.arc.nasa.gov>
  5. Subject: test message: contrib
  6. Newsgroups: comp.graphics.gnuplot
  7. Path: sparky!uunet!wendy-fate.uu.net!info-gnuplot
  8. Sender: info-gnuplot-request@arc.nasa.gov
  9. Lines: 237
  10.  
  11. --------bryne subdirectory ---cut-here----------------cut-here----------
  12. Date: Thu, 26 Mar 92 16:12:06 -0500
  13. From: "Margaret R. Byrne" <mrb2j@kelvin.seas.virginia.edu>
  14. Subject: congp3d3 preprocessor to draw contour plots on irregular regions.
  15. I have tested my preprocessor's output files only under gnuplot 3.0
  16. under DOS. 
  17.  
  18. I have only used the preprocessor itself under watfor77 and watfor87.
  19.  
  20. Rose Byrne
  21. (mrb2j@virginia.edu) <---- sporadic access
  22. --------clark subdirectory -------------------------------------------
  23.  
  24. Date: Sat, 18 Jan 92 12:53:26 MST
  25. From: Michael Clark <pixar!sun!prony.Colorado.EDU!clarkmp@ucbvax.berkeley.edu>
  26. Subject: data filtering 
  27.  
  28. If I used many samples to describe the curve, the symbols were
  29. too closely spaced.  When I used fewer samples, the curves lost their 
  30. smoothness (as expected).  What I really needed was a way to plot every 
  31. n^th point so that I could get I smooth curve without tons of symbols.  So,
  32. Instead of just having two params following the style param, there are now
  33. 4:
  34.  
  35. 1: line_type
  36. 2: point_type
  37. 3: point_skip   - gives the number of data samples per plotted point
  38. 4: point_offs   - gives the sample number on which to plot the first point
  39.  
  40. Thus points are plotted only for the samples n satisfying 
  41.         n = point_skip*i + point_offs 
  42. for some non-negative integer i.
  43.  
  44. [This was not included because it was felt that the line points 
  45. options needed to be entirely redone.]
  46. --------hanna subdirectory-----------------------------------------
  47.  
  48. Date: Tue, 7 Apr 92 21:34:46 PDT
  49. From: gregor@kafka.saic.com (gregg hanna)
  50. Subject: x11-library mode 
  51.  
  52. The 'xlib' mode provides functionality similar to the 'xpm' terminal
  53. mode I sent earlier.  The 'xlib' mode is *much* faster, the disk
  54. files are smaller, and plots are re-sizable.  The only advantage
  55. of the 'xpm' mode is that XPM format files are more transportable.
  56. This would seems to be less important since there is a ppm terminal
  57. mode.
  58.  
  59. Included are new files which provide a
  60. new terminal type called 'xlib' (for x11-library mode).  The xlib
  61. is like the x11 mode modified so that the commands previously
  62. sent to the gnuplot_x11 driver are instead put into the output
  63. file.  In addition, the gnuplot_x11.c file has been rewritten to
  64. be a callable function, which will read a xlib file and draw the
  65. described graph in a drawable.
  66.  
  67. The following files are included:
  68.  
  69.     xlib.trm - A copy of x11.trm, modified to use the
  70.         normal output file instead of a pipe.
  71.  
  72.     gnulib_x11.c - A rather severe rewrite of gnuplot_x11.c,
  73.         as well as a few functions used to interface
  74.         into the user code.
  75.  
  76.     gnulib_x11.h - Specs for user callable routines.
  77.  
  78.     xlibtest.c - a test program written in Motif, it will
  79.         run gnuplot and build a xlib output file, then
  80.         plot that on the screen.  Resizing the window
  81.         will redraw the plot, scaled appropriately,
  82.         without re-running gnuplot.
  83.  
  84.     xlibtest.demo - the gnuplot command to draw the test plot.
  85.  
  86.     makefile.xlib - minimal make file for the xlibtest program
  87.  
  88. To get full use out of the xlib mode, the file gnulib_x11.c needs
  89. to be covered by the alternate GPL for libraries, since the gnulib.o
  90. file must be linked into the user's executable.  Until that is
  91. the case, I will (of course) treat the file as covered by the GPL,
  92. meaning that I cannot include the gnulib_x11 drawing routines in my
  93. software.
  94.  
  95.                                          gregg hanna
  96.                                          gregor@kafka.saic.com
  97.  
  98. --------yamamoto subdirectory -----------------------------------------
  99.  
  100. Date: 18 Mar 92 18:25:00 GMT+9:00
  101. From: "NOBORU YAMAMOTO     " <sun!kekvax.kek.jp!YAMAMOTO@pixar.com>
  102. Subject: Re: gnuplot on Apple Macintosh
  103.  
  104.      Here I enclose "diff -c" patch for gnuplot 3.0 on Mac. you also need
  105. TC-console.c and TC_console.h files , which I will send in separate e-mail. 
  106. The graphics.c file is too big for THINK-C compiler. I forced to divide it into
  107. two part.
  108.  
  109.     Hope it help someone in the world.
  110.  
  111.     Noboru Yamamoto
  112.  
  113. --------russo subdirectory -----------------------------------------
  114. Date: Fri, 6 Dec 91 16:45:38 -0500
  115. From: pixar!uupsi!rudedog.nrl.navy.mil!russo@ucbvax.berkeley.edu (Kevin Russo)
  116. Subject: gnuplotio bidirectional pipe library 
  117.  
  118. November 1991
  119.  
  120. G N U P L O T I O
  121.  
  122. Gnuplotio is a C-function interface library which allows an
  123. application program to run Gnuplot interactively over UNIX pipes.
  124. Possible uses include using gnuplot as a cheap graphics library.
  125. By passing it data files and plot commands an application can have
  126. graphics without writing any graphics code.
  127.  
  128. If gnuplot has the "table" terminal type,
  129. then Gnuplotio turns Gnuplot into a poor man's expression evaluator.
  130.  
  131.  
  132.  
  133. Written by Kevin Russo   SFA, Inc/Naval Research Lab, Code 5133   March 1991
  134. russo@orion.nrl.navy.mil or russo@rudedog.nrl.navy.mil
  135.  
  136. --------woo subdirectory -----------------------------------------
  137.  
  138. Date: Thu, 26 Mar 91 16:12:06 -0500
  139. From: "Alex Woo" <woo@ra-next.arc.nasa.gov>
  140. Subject: two additional title lines and fixes to errorbar style
  141.  
  142.  
  143. These mods add two features:
  144.  
  145. 1.  Two additional title lines called top_title and bottom_title.
  146. These behave just like "title."  It's not elegant but it solve
  147. 95% of the lack of labels problem.  This mod was rejected in
  148. favor of some future multiline title scheme.
  149.  
  150. 2.  Adds an errorbar style and removes the order restriction
  151. for errorbars.  This is primary useful for financial data
  152. and an example of T-Bond futures prices is included.  
  153. [These mods were rejected in favor of a future rewrite of lines
  154. point options.]
  155.  
  156. --------green subdirectory -----------------------------------------
  157. Date: Mon, 17 Aug 92 16:31:19 -0400
  158. From: Roque Donizete de Oliveira <oliveria@engin.umich.edu>
  159. Subject: Re:  greek symbols in gnuplot
  160.  
  161. I include Martin Green's postscript macros for
  162. font mixing at the end of this message. It might
  163. be a good a idea to try to contact him to see if
  164. there is a newer version (perhaps easier to use and
  165. more similar to LaTeX usage, like using _ and ^).
  166.  
  167. I'm not sure what is best way of solving this problem.
  168. One could define in the gnudict prologue things like
  169.  
  170.  /\alpha {/Symbol findfont 200 scalefont setfont (a) } def
  171.  
  172. so that one could say (in gnuplot) 
  173.  
  174.                       set x label  "\alpha"
  175.  
  176. and get in the postscript file something like 
  177.  
  178.                       100 100 moveto \alpha show
  179.  
  180.  
  181. Now the Symbol font is active and something has to
  182. be done to get back the default font and font size
  183. (one could put everything with a gsave/grestore pair
  184. but then one would have to account for the stringwidth
  185. if doing mixed font stuff). And this doesn't even
  186. include subscripting/superscripting yet.
  187.  
  188. % Text manipulation functions including super- and sub-scripts,
  189. % multiple fonts and sizes, centering and right alignment, and
  190. % full justification.
  191. %
  192. % Example:
  193. %
  194. %   [string1 sups [string2 string3 subs string4] {font2} string5] display
  195. %
  196. % should print string1 with the current font, then go into superscript 
  197. % mode for string2 and string3, then print string4 as a subscript to 
  198. % string3, then return to the original font, followed by a change to font2,
  199. % and finally print string5.  The positioning and angle of the printed 
  200. % text are determined by the /textalign and /textangle variables.
  201. %
  202. % Font selection: To select Times-Roman 12 point font use: 12 R
  203. %
  204. % Additional notes & changes (C. Towne):
  205. %
  206. % 1.  In the above example, to change fonts in the middle of a display,
  207. %     but keep the same point size, do something like:
  208. %
  209. %        [string1 sups [string2 string3 subs [string4]] {PS S} string5] display
  210. %
  211. % 2.  To change fonts in the middle of a display, and change the point size,
  212. %     do:
  213. %
  214. %        [string1 sups [string2 string3 subs [string4]] {nn S} string5] display
  215. %
  216. %     where nn is the desired point size.
  217. %
  218. % 3.  To change fonts for a subscript (or superscript) from, say, Helvetica
  219. %     to Symbol, do:
  220. %     
  221. %        [string1 sups [string2 string3 subs [{PS S}string4{PS H}]] string5]
  222. %        display
  223. %
  224. % 4.  gsave & grestore added to displaywidth procedure.  Without it
  225. %     entire string would be displayed in last font used.
  226. %
  227. % 5.  The /textangle option apparently is missing.
  228. %
  229. % 6.  Stuff for centered symbols has been removed.
  230. %
  231. % 7.  Procedures displaybbox and displaybbox2 (similar to displaywidth and
  232. %     displaywidth2) added.
  233. %
  234. % 8.  Font names changed to same as those in troff, and added CB, CO, CD.
  235. %
  236. % 9.  Coding style changes made.
  237. %
  238. % From USENET posting in comp.lang.postscript by:
  239. % Martin Green                        UUCP     :  ..!torsqnt!ohrd!green
  240. % Ontario Hydro Research Division     Telephone:  (416)231-4111 Ext7060
  241. % 800 Kipling Ave
  242. % Toronto, Ontario, CANADA, M8Z5S4
  243. %
  244. % Copyright (C) 1990 Martin A. Green
  245. %
  246. % Last edited: Fri Nov  2 09:09:22 EST 1990
  247. %    
  248.