HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.graphics.gnuplot
Subject: axes labeling
From: <SXC101@psuvm.psu.edu>
Date: Wed, 11 Nov 1992 15:57:21 EST
Organization: Penn State University

is it possible to do this:

label x and y axes in postscript symbols font but not the title of
the graph?

appreciate your help.

chakra
(chakra@iris.psu.edu)
Newsgroups: comp.graphics.gnuplot
From: liang@seas.gwu.edu (Liang Liu)
Subject: looking for gnuplot on PC
Keywords: gnuplot, PC
Organization: George Washington University
Date: Thu, 5 Nov 1992 15:35:28 GMT

Hello, there. I am looking for the gnuplot for PC. Please 
tell me the location of the public domain. Thanks in advance.

liang@seas.gwu.edu
From: reinitz-john@cs.yale.edu (John Reinitz)
Newsgroups: comp.graphics.gnuplot
Subject: Solid Symbols?
Date: 5 Nov 1992 18:14:07 -0500
Organization: Yale University Theoretical Biology Collective
Distribution: world
NNTP-Posting-Host: nyaya.systemsz.cs.yale.edu
Summary: Solid symbols would be useful
Keywords: symbol solid


Well, I've been thanking the gnuplot developers in each of these posts,
so thanx again guys, it plots good :-)

Here's my next question: Certain journals like certain kinds of
symbols in graphs. Sometimes they don't like +'s and x's; they want
solid diamonds, solid circles, solid squares, etc. gnuplot (postscript
driver, anyway) doesn't have these solid symbols, but only hollow
ones. It would be great if these could be added to the postscript
driver!

As I mentioned on my other two posts, I am possibly willing
to try to do this myself, but I will need a little advice. 
Of course, someone more experienced than me might want to do it...
...even better :-)

The  above comments apply to V3.0, patchlevel 0.


John Reinitz
From: vu2gmc@navier (Sitaram Ramaswamy)
Newsgroups: comp.graphics.gnuplot
Subject: Re: Help with splot mesh.
Date: 6 Nov 92 20:31:40 GMT
Organization: ucsb

In article <rr_qp2+@lynx.unm.edu> from [5 Nov 92 19:16:23 GMT] you wrote:
 |> In article <psm.720947954@murlibobo> psm@mullian.ee.mu.OZ.AU (Phil Malin) writes:
 |> >Hi all.
 |> >
 |> >I've just got wgnuplot (gnuplot for windows) up and running.  I was wondering
 |> >if anyone knows how to adjust the mesh interval on 3D surface plots, or if
 |> >it's possible.  Thanks for any help.
 |> >
 |> >Phil Malin.
 |> >psm@mullian.ee.mu.oz.au
 |> I believe that you need to change the sampling rate, as in:
 |> 	set samples 500
 |> or something.  Try help samples.
 |> Yours, jdb

The change in the sampling rate makes the surface smoother. But the density
of the grid lines does not change. I Had the same problem but could not find
a solution to it. 
	Anyone with a solution ???
-Ram.

Newsgroups: comp.graphics.gnuplot
From: jdaves@triton.unm.edu (Jonathan Daves-Brody)
Subject: Re: Help with splot mesh.
Date: Thu, 05 Nov 92 19:16:23 GMT
Organization: University of New Mexico, Albuquerque

In article <psm.720947954@murlibobo> psm@mullian.ee.mu.OZ.AU (Phil Malin) writes:
>Hi all.
>
>I've just got wgnuplot (gnuplot for windows) up and running.  I was wondering
>if anyone knows how to adjust the mesh interval on 3D surface plots, or if
>it's possible.  Thanks for any help.
>
>Phil Malin.
>psm@mullian.ee.mu.oz.au
I believe that you need to change the sampling rate, as in:
	set samples 500
or something.  Try help samples.
Yours, jdb

x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Thu, 5 Nov 1992 15:33:34 EST
Subject: version 3.2
Date: Thu, 5 Nov 1992 12:04:51 PST
From: john@john.smos.com (John Conover)
X-Mailer: ELM [version 2.3 PL11]
Content-Type: text
Content-Length: 328
Newsgroups: comp.graphics.gnuplot
Just compiled it on SysV/386, rel. 4.0, X11.5. A very nice program. If you
can, pls. keep me posted of any changes/enhancements, etc.
	Thanks,
	John

--

John Conover, S-MOS Systems, 2460 N. First St., San Jose, CA., 95131-1002, USA
(408) 922-0578 ext. 3474, Fax (408) 922-0238
john@smos.com, uunet!smos!john, attmail!smos!john
From: stevec@geog.ubc.ca (Steve Cumming)
Newsgroups: comp.graphics.gnuplot
Subject: .trm file for HP PaintJet colour graphics printer?
Date: 13 Nov 1992 01:01:31 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
Distribution: world
NNTP-Posting-Host: kestrel.geog.ubc.ca

The Subject line says is all. I need one.
Does anyonr have such a beast? Equally, can any
.trm wizards suggest which existing .trm would be the best
to start from?

For a first pass, I would probably not use raster mode.

Steve
--
Steve Cumming		 boreal mixedwood dynamics and rogue
stevec@geog.ubc.ca				    ... how long you got left?
						    well how long do you reckon?
							
Newsgroups: comp.graphics.gnuplot
From: rjl@fawlty10.eng.monash.edu.au (Russell Lang)
Subject: Re: Can't find Windows GNUPlot
Organization: Monash University, Melb., Australia.
Date: Sun, 8 Nov 1992 23:56:14 GMT

shenoy@iastate.edu (Shiva Shenoy) writes:

>In <1992Nov6.155342.6426@utdallas.edu> aicklen@utdallas.edu (Greg Aicklen) writes:

>>I couldn't find the MS-Windows version of GNUPlot on ftp.cica.indiana.edu -
>>I looked almost EVERYWHERE!  Is there another source for the lastest
>>(alpha still, I guess) version?

>Version 3.38 beta is available at ftp.cica.indiana.edu in the
>pub/pc/win3/desktop directory. The file is wgplt338.zip.

This is NOT a beta test - it is a very early alpha test.
It has a number of bugs in the Windows code.
gnuplot 3.3 is still in alpha test.

-- 
Russell Lang   Email: rjl@fawlty4.eng.monash.edu.au   Phone: (03) 565 3460
Department of Electrical and Computer Systems Engineering
Monash University, Australia
From: ays80@RUTS.ccc.amdahl.com (Anupam Srivastava)
Newsgroups: comp.graphics.gnuplot
Subject: Re: Wanted: gnuplot widget
Date: 5 Nov 92 16:39:30 GMT
Reply-To: ays80@RUTS.ccc.amdahl.com (Anupam Srivastava)
Distribution: comp
Organization: Amdahl Corporation, Sunnyvale CA

In article <D87-MAL.92Nov4200418@blofeld.nada.kth.se> d87-mal@blofeld.nada.kth.se (Mats Lfkvist) writes:
>Basically, I want to be able to have a gnuplot graph
>as a (sub-) window in an X application.
>

Could you cc: me on this, too?
Thanks,
Anupam Srivastava
ays80@ruts.ccc.amdahl.com
Newsgroups: comp.graphics.gnuplot
From: wolf@leland.Stanford.EDU (Andy Wolfsberg)
Subject: Re: simple splot question...
Keywords: splot
Organization: DSG, Stanford University, CA 94305, USA
Distribution: na
Date: Wed, 11 Nov 92 06:31:52 GMT

In article <JACKSON.92Nov9120154@pallas.phobos.sscl.uwo.ca> jackson@pallas.phobos.sscl.uwo.ca (Peter L. Jackson) writes:
>
>I would like to use splot to contour and draw a surface of gridded
>data read from a file. Is this possible?  All I can do so far is plot
>the actual data points. Here is what I do:
>
>set parametric
>set surface
>splot "test.data"
>
>which plots the data points, but no surface connecting them.
>
>when I "set contour" there is an error message: "Can not contour non
>grid data!" even though the data is defined on a regular grid. I have
>no difficulty with surface plots of functions. I'm using gnuplot 3.2
>on unix DECstations.
>
i

SAME HERE :)

I'm hoping someone will answer your question on the net 
inquiring minds want to know.

Please help someone.

Thanks
Andy Wolfsberg
wolf@hydro   (not wolf@leland as it says above [(r) works fine ]
Newsgroups: comp.graphics.gnuplot
From: jdaves@triton.unm.edu (Jonathan Daves-Brody)
Subject: Re: Can't find Windows GNUPlot
Date: Tue, 10 Nov 92 23:05:54 GMT
Organization: University of New Mexico, Albuquerque

In article <BxI5IH.5op@fmsrl7.srl.ford.com> krouth@slee01.srl.ford.com (Kevin Routh) writes:
>eanv20@castle.ed.ac.uk (John Woods) writes:
>: rjl@fawlty10.eng.monash.edu.au (Russell Lang) writes:
>: 
>: >This is NOT a beta test - it is a very early alpha test.
>: >It has a number of bugs in the Windows code.
>: >gnuplot 3.3 is still in alpha test.
>: 
>: I'll say it is --- there's even errors in the zip file.  What's the
>: last reliable version?  And where is it?  Thanks!
>
>What are the errors in the zip file?  My unzip detected none.  Please
>explain.  I have been using the program and it seems to work pretty
>darn good.  There are crashes once in a while.  Thanks for the info.
>--
Possibly Kevin's problem is due to decompression software.  I have used two
versions of wgnuplot, including the 3.3 version.  pkunzip was unable to read
either of them.  There is a file called unzip.exe, available at places like 
cica and wuarchive, which was able to decompress both versions.

I also have had few problems with the 3.3 version.  The crashes which I have
had seem to be related to trying to plot large data sets.
Newsgroups: comp.graphics.gnuplot
From: wolf@leland.Stanford.EDU (Andy Wolfsberg)
Subject: Terminal Type - epsf no longer available ? 
Organization: DSG, Stanford University, CA 94305, USA
Date: Thu, 12 Nov 92 18:07:23 GMT

Hi all,
I used to use  v2.0 and one of the terminal types was
epsf1 (encapsolated postscript) I liked this much better
than the postscript output because it fits the LaTeX
epsf figure style well.

Does anyone know why it is no longer available?
Does the new postscript terminal meet the needs epsf
used to?

Thanks
Andy 
wolf@hydro.stanford.edu    (NOT wolf@leland, <r> does gets mail to me)
Newsgroups: comp.graphics.gnuplot
From: jdaves@triton.unm.edu (Jonathan Daves-Brody)
Subject: Re: Contour Control
Date: Fri, 13 Nov 92 16:55:53 GMT
Organization: University of New Mexico, Albuquerque

In article <1992Nov12.183810.10682@leland.Stanford.EDU> wolf@leland.Stanford.EDU (Andy Wolfsberg) writes:
>
>ONe more question while were at it.
>I finally figured out how to contour and surface mesh
>2-d data. You have to put a blank line after each row
>of data (which are specified one point per line in a long column)
>
>However, you can not specify the x,y locations (i,e, parametric)
>you must set noparmetric and list only the z values
>
>The problem: I have data from a 40x40 grid which represents
>an 80x80 domain (deltaX = 2). When I contour it up, I want the
>axis to go from 0 to 80 but they only go from 0 to 40.
>
>Does anyone know of a way to rename the axis of a noparametric
>contour plot.  I.E. keep the plot the same, just rewrite the
>axis lables?

If I understand your question, the syntax is:
	set xtics ("0" 0, "40" 20, "80" 40)

I.e., the label that you >want< to use goes in quotes right before the
label that is >currently< being used on the axis.

Hope that helps. . .

Newsgroups: comp.graphics.gnuplot
From: kthompso@kronos.arc.nasa.gov (Kevin Thompson)
Subject: Re: gnuplot query clarification
Organization: NASA/ARC Information Sciences Division
Date: Thu, 12 Nov 1992 03:35:46 GMT

In article <921111172058.20200eac@FSDVX2.ARC.NASA.GOV> ENGELLAND@FSDVX2.ARC.NASA.GOV. (.((\) (Shawn Engelland ** NASA Ames ** \(415\)604-5271) writes:

>Thanks for the response to this query, but I'm afraid that I wasn't clear in
>expressing my requirements to David.  I need to generate multiple graphs or
>plots per page.  That is, several plots stacked vertically on a page as shown
>below:
> ....
>Specifically, I need to create strip chart style plots and frequency response
>(Bode) plots.  From what I've seen gnuplot can only create one plot/graph/grid
>per page.  Is this correct?  Are there any plans to include provisions for
>multiple plots/graphs/grids per page?  Thanks for your assistance.

(sorry if this is mis-attributed, I got lost in the he said he said he said
...)

I think gnuplot is wonderful for many things, but if you need multiple plots
in postscript right this minute, get jgraph, it's at princeton.edu in
pub/jgraph.Z.  Not interactive, but gives excellent control over output
appearance, does most of what I want.  Multiple graphs is a bit of a hack,
but do-able.

Kevin Thompson

-- 
kthompso@ptolemy.arc.nasa.gov     Artificial Intelligence Research Laboratory
(415) 604-4767 (voicemail)        NASA-Ames Research Center, Moffett Field, CA
Newsgroups: comp.graphics.gnuplot
From: shenoy@iastate.edu (Shiva Shenoy)
Subject: Re: Can't find Windows GNUPlot
Organization: Iowa State University, Ames IA
Date: Fri, 6 Nov 1992 16:40:36 GMT

In <1992Nov6.155342.6426@utdallas.edu> aicklen@utdallas.edu (Greg Aicklen) writes:

>I couldn't find the MS-Windows version of GNUPlot on ftp.cica.indiana.edu -
>I looked almost EVERYWHERE!  Is there another source for the lastest
>(alpha still, I guess) version?

Version 3.38 beta is available at ftp.cica.indiana.edu in the
pub/pc/win3/desktop directory. The file is wgplt338.zip.
-- 
Shiva Shenoy                           | e-mail: shenoy@iastate.edu 
2066 Black,                            | Office: (515)-294-0082
Dept. of Aero. Engg. & Engg. Mechanics | Home  : (515)-296-7640
Iowa State University, Ames, IA 50010  |
Newsgroups: comp.graphics.gnuplot
From: aicklen@utdallas.edu (Greg Aicklen)
Subject: Can't find Windows GNUPlot
Organization: Univ. of Texas at Dallas
Date: Fri, 6 Nov 1992 15:53:42 GMT

I couldn't find the MS-Windows version of GNUPlot on ftp.cica.indiana.edu -
I looked almost EVERYWHERE!  Is there another source for the lastest
(alpha still, I guess) version?

Greg Aicklen
aicklen@utdallas.edu

x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Tue, 10 Nov 1992 05:32:22 EST
From: "Juergen Egeling (FFT)" <RY90@DKAUNI2.BITNET>
Subject: HP 500C
Date: Tue, 10 Nov 1992 10:32:23 GMT
Newsgroups: comp.graphics.gnuplot
Hallo,
I hope this is not a FAQ, but if so, please give me a
pointer, where to get the FAQ list.
I am searching for a driver for the HP deskjet 500C
(The HP colour printer) which is able to print the
colours as required.
Please answer direktly, and I will post the summaries,
as I did not receive this list permanently.

bis bald
Juergen
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Juergen Egeling, Werderstr. 41, 7500 Karlsruhe
bitnet:   ry90@dkauni2
internet: ry90@ibm3090.rz.uni-karlsruhe.dbp.de
X.400:    S=ry90;OU=ibm3090;OU=rz;P=uni-karlsruhe;A=dbp;C=de
From: tkacik@hobbes.hobbes.cs.gmr.com (Tom Tkacik)
Newsgroups: comp.graphics.gnuplot
Subject: Re: Problems with readline
Date: 9 Nov 92 13:42:01 GMT
Reply-To: tkacik@hobbes.hobbes.cs.gmr.com
Organization: GM Research Labs

In article 721150718@kaa, arndt@kaa.informatik.rwth-aachen.de (Stefan Arndt writes:

> We have a problem with gnuplot V3.2
> We are running ISC SysV R3.2 and we have X11R4 Roells server.

> On our system SIGTSTP is defined and therefor <termios.h> is included.
> But in termios.h IUCLC and ONOCR are not defined.

Comment out the lines with IUCLC and ONOCR.  They should be part of your termios.h
but it appears that not all systems define these.  They are not really needed,
and probably should be removed from the new 3.3 version.

> I have fixed this by undef TERMIOS to cause the proper include.

If you have termios.h you probably should use it.

> Anyway, apart from that we have problems with readline.
> ( Actually we have problems with this function with EVERY gnuish software
> i.e gdb ).

Gnuplot is gnuish software in name only.  If this happens with all such
software, then maybe you should complain to your vendor.  (I am sorry
that this does not sound very helpful.)

> When we are using ^P to get the last command line we still get it but
> it isn't echoed, so it is a bit like walking in the dark.

I have never seen this problem before.  Have you tried ^R or ^L?  Either
of these should retype the current line.  Or is the line still not echoed?
The problem with Unix is the vast number of different versions available that
are so similar, yet are different in subtle ways.

> So, what is the right way for our system to get readline and
> an updating plot window under X11?

Not having ever seen your system, I do not know what it will take,
(but if you figure it out I would like to hear about it).
Anybody have any suggestions?

--
Tom Tkacik
GM Research Labs
tkacik@hobbes.cs.gmr.com
tkacik@kyzyl.mi.org
Newsgroups: comp.graphics.gnuplot
From: Mark.McIntosh@engr.UVic.CA (Mark  McIntosh)
Subject: Re: Date format conversion ?
Organization: University of Victoria, Victoria, BC, Canada
Date: 10 Nov 92 05:01:41 GMT

On Tue, 10 Nov 1992 02:04:11 GMT, ratner@news.ans.net (Michael Ratner) said:
>I have a sequence of the following pairs: [<date> <value>], where
><date> is expressed as the number of seconds elapsed since the
>beginning of UNIX era (Jan 1 00:00 1970).  Dates are not continuous,
>meaning that there's a gap between consecutive values of <date>.
>How do I get normal-looking dates on the plot as range markings for
>the "date" axis ?  Something like "Oct 1 10:15:34" instead of 74938183

I use the "xtics" command to set up explicit labels at the appropriate
integer time mark.  eg. for a plot where the x column indicates hours
from midnight Saturday:

set noautoscale x
set tics out
set xtics ("Sun" 12, "Mon" 36, "Tue" 60, "Wed" 84, "Thu" 108, "Fri" 132, "Sat" 156)
set xrange [0:167]
set xlabel "Day of the week (ticks are noon that day)"

Mark J. McIntosh <Mark.McIntosh@engr.UVic.CA>
____________________________________________________________________________
University of Victoria, Faculty of Engineering - Dean's Office
Box 3055, Victoria, BC, CANADA    \ "...the mystery of life isn't a problem to
V8W 3P6            (604) 721-6049  \    solve but a reality to experience." 
UUCP: ...!{uw-beaver,ubc-vision}!uvicctr!sirius!mmcintos  \ from Dune
Newsgroups: comp.graphics.gnuplot
From: mppu3@syma.sussex.ac.uk (Conor McMenamin)
Subject: Re: gnuplot_note
Organization: University of Sussex
X-Newsreader: Tin 1.1 PL4
Date: Thu, 12 Nov 1992 11:03:34 GMT

grossgla@di.epfl.ch (Matthias Grossglauser) writes:
: Hi
: 
: I'm intending to use gnuplot for some simulation graphics. The data is
: written to a file by a simulator, from which I would like to generate
: the diagrams. However, I couldn't find a way to use a file with plot
: in the format (x,y1,y2,...,yn), i.e. to have several y-values per x-value.
: 
	This can be done by specifying multiple plots on the command
line:

gnuplot> plot "sim.dat" u 1:2 w lines,"sim.dat" u 1:3 w points,"sim.dat"
u 1:4 w linespoints .....etc.

the "u" is an abbreviation for "using" (either may be used on the
command line), so "u 1:3" plots the graph using column 1 for the
x-variable and column 3 for the y-variable. The "w" is short for "with",
again the two are interchangeable, and allows you to specify the
representation of the plot. For a list of types try "help set data
style". 

	Hope this is helpful.
		Conor
x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Tue, 10 Nov 1992 05:54:01 EST
From: celli@momix.iac.rm.cnr.it (Andrea Celli)
Subject: hp laserjet II+
Mailer: Elm [revision: 70.30]
Date: Tue, 10 Nov 1992 10:54:04 GMT
Newsgroups: comp.graphics.gnuplot
Hallo,
I hope this is not a FAQ, but if so, please give me a
pointer, where to get the FAQ list.
I am searching for a driver for the HP  laserjet II+
(The old HP laser printer) which is compatible with GNUPLOT.
Please answer directly, and I will post the summaries,
as I did not receive this list permanently.

Thank you

A. Celli
 celli@momix.iac.cnr.rm.it
From: reinitz-john@cs.yale.edu (John Reinitz)
Newsgroups: comp.graphics.gnuplot
Subject: Rescaling symbols in Latex driver
Date: 5 Nov 1992 18:07:12 -0500
Organization: Yale University Theoretical Biology Collective
Distribution: world
NNTP-Posting-Host: nyaya.systemsz.cs.yale.edu
Summary: I want to, can't in V3.0 patchlevel 0
Keywords: scaling size


First off, I would like to thank the developers of this way cool
program.

I have a question about the Latex driver, which, in v3.0 patchlevel 0
will rescale graphs but leaves the symbols the same size, which can
get a little cluttered if its being shrunk more than a little.  I
wondered about fixing this. If someone is working on the latex driver,
scaling of symbols would be a good thing to add. *I* might be able to
fix this, but I will need a little advice from a knowledgeable person.
(If, of course, it is not already fixed in V3.2 )

Thanks!!!

John Reinitz



Newsgroups: comp.graphics.gnuplot
From: lim@telerobotics.jpl.nasa.gov (David Lim)
Subject: Interactively sending output to printer from gnuplot?
Reply-To: lim@telerobotics.jpl.nasa.gov
Organization: Jet Propulsion Laboratory
Distribution: comp.graphics.gnuplot
Date: Thu, 5 Nov 1992 19:59:33 GMT


I would like to tell gnuplot to send my plot to the printer interactively from
within gnuplot. I did read the manual suggesting the use of the set output
command (which by the way seems to be in error, you should not specify a
filename to the lpr command). However, I have not been able to get it to print
until I quit out of gnuplot:

% gnuplot

        G N U P L O T
        unix version 3.2
        patchlevel 2, Mar 24 92
        last modified Sat Mar 24 21:08:47 PST 1992

Copyright(C) 1986, 1987, 1990, 1991, 1992  Thomas Williams, Colin Kelley

        Send bugs and comments to bug-gnuplot@ames.arc.nasa.gov

Terminal type set to 'x11'
gnuplot> load "/home/lim/work/robot/data/dump/gp/y.gp"
gnuplot> set terminal postscript
Terminal type set to 'postscript'
Options are 'landscape monochrome "Courier" 14'
gnuplot> set output "|lpr -Pjade"
gnuplot> replot
gnuplot>

On another terminal, I monitor the process with ps, and it shows the lpr
process waiting:

  PID TT STAT  TIME COMMAND
17836 p8 IW    0:00 sh -c lpr -Pjade

If I quit, then the printing starts up. Or if I do a 'set output', the
printing starts up. It seems as if the lpr process is waiting for EOF before
it starts printing (as it should), and gnuplot is not sending this EOF. If
this is the case, gnuplot should really close the pipe after a replot, and
then start up a new one on the next replot.
Newsgroups: comp.graphics.gnuplot
From: ejk@ux2.cso.uiuc.edu (Ed Kubaitis - CCSO)
Subject: Re: GNUPLOT An Interactive Plotting Program v.3.2
Organization: University of Illinois - Urbana
Date: Thu, 5 Nov 1992 18:36:49 GMT

oakli@essex.ac.uk (Oakley I G) writes:
 |I have taken the above email address from the cover of the GNUPLOT 3.2 manual
 |in the hope that the recipiant can help me.
 |
 |As part of my final year project here at Essex University, U.K. I am intending
 |on using Gnuplot to display various data that my 'C' program will produce.
 |
 |What I would like to be able to do is execute Gnuplot from within my 'C' code
 |so that it can be used as an interactive part of the program bringing up a
 |Gnuplot window displaying any data set chosen by the user.
 |
 |I am currently not sure if this is possible although I have a few basic ideas)
 |so I would appreciate you telling me how to go about doing it (with some 
 |example code maybe).  I know there is a library routine system() which allows
 |commands to be executed as if they were typed from the shell.  When using 
 |this command and piping in a datafile, the Gnuplot window only appears 
 |very briefly despite the use of 'pause -1' in the datafile.
 |
 |I am currently using SUN SPARCstations running an X-window environment with
 |the UNIX operating system.

Not sure what you mean by "piping in a datafile", but attached is a very
simple example of calling gnuplot from a c program. Perhaps it will
help. In this example, 'pause -1' seems to work as you want.

----------------------------------
Ed Kubaitis (ejk@ux2.cso.uiuc.edu)
Computing & Communications Services Office - University of Illinois, Urbana
===============================================================================
#include <stdio.h>

FILE *commands, *data;

main(argc, argv) int argc; char *argv[]; {

   data = fopen("/tmp/gp.data", "w");
   fprintf(data, "1 1\n");
   fprintf(data, "2 2\n");
   fprintf(data, "3 3\n");
   fprintf(data, "4 4\n");
   fclose(data);

   commands = fopen("/tmp/gp.commands", "w");
   fprintf(commands, "set term x11\n");
   fprintf(commands, "plot '/tmp/gp.data' with line 1\n");
   fprintf(commands, "pause -1 'Hit return'\n");
   fclose(commands);

   system("gnuplot /tmp/gp.commands");

   unlink("/tmp/gp.commands");
   unlink("/tmp/gp.data");
   exit(0);

   }
x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Fri, 6 Nov 1992 11:46:24 EST
Date: Fri, 06 Nov 1992 17:38:00 +0100
From: "MSFD1::MOEHRING" <moehring@msfd1.dnet.gwdg.de>
Newsgroups: comp.graphics.gnuplot