Annotation of OpenXM_contrib/gnuplot/docs/old/README.xli, Revision 1.1.1.1
1.1 maekawa 1: From gregor@kafka.saic.com Tue Apr 7 21:24:49 1992
2: Return-Path: <gregor@kafka.saic.com>
3: Received: from kafka.saic.com by ra-next.arc.nasa.gov (NeXT-1.0 (From Sendmail 5.52)/NeXT-1.0)
4: id AA01805; Tue, 7 Apr 92 21:24:46 PDT
5: Received: by kafka.saic.com (4.1/SMI-4.1)
6: id AA28518; Tue, 7 Apr 92 21:34:46 PDT
7: Date: Tue, 7 Apr 92 21:34:46 PDT
8: From: gregor@kafka.saic.com (gregg hanna)
9: Message-Id: <9204080434.AA28518@kafka.saic.com>
10: To: woo@ra-next.arc.nasa.gov
11: Subject: New terminal mode for gnuplot.
12: Cc: gregor@kafka.saic.com
13: Status: R
14:
15: Included in this shar is a patch and new files which provide a
16: new terminal type called 'xlib' (for x11-library mode). The xlib
17: is like the x11 mode modified so that the commands previously
18: sent to the gnuplot_x11 driver are instead put into the output
19: file. In addition, the gnuplot_x11.c file has been rewritten to
20: be a callable function, which will read a xlib file and draw the
21: described graph in a drawable.
22:
23: The following files are included:
24:
25: xlib.trm - A copy of x11.trm, modified to use the
26: normal output file instead of a pipe.
27:
28: gnulib_x11.c - A rather severe rewrite of gnuplot_x11.c,
29: as well as a few functions used to interface
30: into the user code.
31:
32: gnulib_x11.h - Specs for user callable routines.
33:
34: xlibtest.c - a test program written in Motif, it will
35: run gnuplot and build a xlib output file, then
36: plot that on the screen. Resizing the window
37: will redraw the plot, scaled appropriately,
38: without re-running gnuplot.
39:
40: xlibtest.demo - the gnuplot command to draw the test plot.
41:
42: makefile.xlib - minimal make file for the xlibtest program
43:
44: The following patch is included:
45:
46: term.patch - Patch to 'term.c' which adds the specification
47: for 'xlib' and includes the 'xlib.trm' file.
48:
49: These changes were made relative to gnuplot3p2b6, and the patch
50: is in unified diff format. Please drop me a line if you would like
51: it in a different format or relative to a different revision level.
52:
53: To get full use out of the xlib mode, the file gnulib_x11.c needs
54: to be covered by the alternate GPL for libraries, since the gnulib.o
55: file must be linked into the user's executable. Until that is
56: the case, I will (of course) treat the file as covered by the GPL,
57: meaning that I cannot include the gnulib_x11 drawing routines in my
58: software.
59:
60: The 'xlib' mode provides functionality similar to the 'xpm' terminal
61: mode I sent earlier. The 'xlib' mode is *much* faster, the disk
62: files are smaller, and plots are re-sizable. The only advantage
63: of the 'xpm' mode is that XPM format files are more transportable.
64: This would seems to be less important since there is a ppm terminal
65: mode.
66:
67: I'm quite excited about this mode, since it allows executing software
68: the ability to generate gnuplot plots quickly while integrating the
69: output into it's own display. I hope you will consider it for
70: a future gnuplot release and, at that time, consider the LGPL
71: option. I would appreciate knowing your views on the subject, since
72: I would like to use the 'xlib' mode in my company's software.
73:
74: Thanks for a great program!
75:
76: gregg hanna
77: gregor@kafka.saic.com
78:
79: --------cut-here---------------cut-here----------------cut-here----------
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>