Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ucsd!ucsdhub!hp-sdd!apollo!aramini From: aramini@apollo.HP.COM (Michael Aramini) Newsgroups: comp.sys.apollo Subject: Re: apollo driver for gnuplot Keywords: graphics, plotting, gnuplot Message-ID: <496d6ac7.20b6d@apollo.HP.COM> Date: 26 Mar 90 16:47:00 GMT References: <1990Mar23.210229.11573@caen.engin.umich.edu> Sender: root@apollo.HP.COM Distribution: usa Lines: 29 Gnuplot does have a driver for the UNIX plot command. A the BSD version of this command is available on Apollo. If your TERM variable is one of the apollo types, plot will create a DM pad and draw in it. Here's an example of using gnuplot with plot: $ /usr/local/bin/gnuplot | plot G N U P L O T unix version 1.10A (Polar) Copyright (C) 1986, 1987 Thomas Williams, Colin Kelley gnuplot> set terminal unixplot gnuplot> plot sin(x) gnuplot> q Note that since the UNIX plot command does automatic scaling, it can't begin plotting until it has seen the entire set of plotting commands it recieves from standard input (in this case a pipe from gnuplot). Thus, unfortunately, the DM pad won't get created and you won't see the graphics until you exit out of gnuplot, meaning you can only draw one graph per gnuplot session. If that solution is unacceptible to you, note that I have developed a GPR driver for gnuplot, but I don't know what the procedure is to submit a driver to FSF or whomever distributes gnuplot so that it becomes part of the gnuplot distribution, if someone knows, please let me know. -Michael Aramini