[comp.sys.sgi] graphing software for SGI

larryt@AE.MSSTATE.EDU (Larry Thorne) (04/12/90)

We've just moved several of our people from Suns to Personal Iris machines
(4D/25TGs) and they really miss the graphing/plotting package that they
were using called grtool.  This is about the handiest package to graph/plot
2D data that I've seen, and produces all sorts of output (Postscript, etc.,
etc.).  Unfortunately, it only runs on Suns, but the author is planning to
port it to X.

In the meantime, does anyone know of software that runs on SGI machines that
provides 2D graphing capabilities?   I'm looking for something extremely 
versatile & easy to use that produces Postscript output, can be driven by 
parameter files, etc.
 
PD preferred, but I'm willing to consider others.

Thanks in advance!

Larry Thorne
larryt@ae.msstate.edu

bobg@rains.wpd.sgi.com (Bob Green) (04/13/90)

I don't know whether you would consider the combination of Documenter's
WorkBench plus the Laser Printer Support option to be an answer to your
2D graphing problems but it works for me.  I have several utilities
which feed information into pic and grap which is then fed to the
laser printer.  It does take some time to get used to the primitive 
nature of these pure black and white programming tools.

Bob Green
Silicon Graphics, Inc.

vic@wookie.sgi.com (Victor Mitnick) (04/13/90)

There's IRISPLOT, which I believe is available free of charge from
math.arizona.edu (University of Arizona). I've never used it, but I
knows it's out there.

Here are some excerpts from the man page:

DESCRIPTION
       IRISPLOT is a command and menu driven interactive plotting
     program which generates high quality graphics on the IRIS-4D
     series machine. It reads instructions from  the  standard in
     and produces plots based on these  instructions. Once a plot
     is done, the plotted graphical objects can be manipulated by
     mouse input.
.
.
.

AUTHORS
       The front end code is modified from gnuplot 1.1.5 by Thomas
     Williams  and  Collin Kelley  by  Maorong Zou. The  graphical
     driver was written by Maorong Zou.

--
Vic Mitnick                           Silicon Graphics, Inc.
vic@wookie.wpd.sgi.com                System Software Division
(415)335-1372

Maybe if we listened to it, history would stop repeating itself.
                                        -- Lily Tomlin

jmw@random.sgi.com (James M Winget) (04/13/90)

You might find that GNUPLOT provides the requested 2D plotting capabilites.
It was recently posted to comp.sources.misc, heres part 0 of 13. I've been
using (older versions) for several months. My typical exec version includes
both the IRIS (shared GL) and Postscript (encapsulated) drivers. I preview
the plot interactively, set the output to postscript, and "replot" to generate
hardcopy. Works great!


-----------------------------------------------------------------------------
Article 590 of comp.sources.misc:
Path: odin!shinobu!sgi!decwrl!uunet!allbery
From: thaw@ucbvax.Berkeley.EDU@pixar.UUCP (Tom Williams)
Newsgroups: comp.sources.misc
Subject: v11i065: Gnuplot 2.0 - 0 of 14
Message-ID: <82358@uunet.UU.NET>
Date: 26 Mar 90 00:10:02 GMT
Sender: allbery@uunet.UU.NET
Organization: Pixar -- Marin County, California
Lines: 38
Approved: allbery@uunet.UU.NET (Brandon S. Allbery - comp.sources.misc)

Posting-number: Volume 11, Issue 65
Submitted-by: thaw@ucbvax.Berkeley.EDU@pixar.UUCP (Tom Williams)
Archive-name: gnuplot2/part00

--- CUT HERE ---
#!/bin/sh
# This is a shell file to make directories
mkdir term demo bugtest docs docs/latextut translate
exit
--- CUT HERE ---


Gnuplot is a command-line driven interactive function plotting utility
for UNIX, MSDOS, and VMS platforms.  The software is free.  It was
originally intended as graphical program which would allow scientists
and students to visualize mathematical functions and data.  Additions
to this version of the software allow production of publication quality
plots and data graphs.  Gnuplot supports many different types of
terminals, plotters, and printers and is easily extensible to include
new devices.  [ The "GNU" in Gnuplot has nothing to do with the Free
Software Foundation, the naming is just a coincidence (and a long
story). ]


Gnuplot Features:
  Cartesian and Polar plots.
  Logscale graphs.
  Intelligent Tic spacing.
  Optional Autoscaling.
  Support for complex numbers.
  VMS-like online help.
  User-definable functions and variables.
  All the builtin functions C, FORTRAN, and BASIC provide.
  All the unary and binary operators supported by C, and more.
  MANY formatting features, such as labels, grids, and arrows.
  Support for Saving and Loading work in progress.
  Command line substitution.
  And lots more....


--------------------------------------------------------------------------
Here are my diffs for the Makefile (the only changes I had to make):

22c22
< CFLAGS = -DGAMMA -O
---
> CFLAGS = -DVFORK -DBCOPY -DBZERO -DGAMMA #-gx #-O
52,55c52,55
< #TERMFLAGS =  -Iterm -DAED -DBITGRAPH -DDXY800A -DEPSON -DHP2648 \
< #	-DHP26 -DHP75 -DHPGL -DHPLJET -DIMAGEN -DKERMIT -DLATEX -DEEPIC \
< #	-DPOSTSCRIPT -DPROPRINTER -DQMS -DREGIS -DSELANAR -DTEK \
< #	-DUNIXPLOT -DV384
---
> TERMFLAGS =  -Iterm -DAED -DBITGRAPH -DDXY800A -DEPSON -DHP2648 \
> 	-DHP26 -DHP75 -DHPGL -DHPLJET -DIMAGEN -DKERMIT -DLATEX -DEEPIC \
> 	-DPOSTSCRIPT -DPROPRINTER -DQMS -DREGIS -DSELANAR -DTEK \
> 	-DUNIXPLOT -DV384 
57,58d56
< TERMFLAGS =  -Iterm -DIRIS4D -DPOSTSCRIPT
< 
106c104
< LIBS = -lm -lgl_s
---
> LIBS = -lm -lplot
------------------------------------------------------------------------------
Hope that helps,
Jim
---
James M. Winget
Silicon Graphics		(415) 962-3654
2011 Stierlin Road		jmw@sgi.com
Mountain View, CA 94043-7311	or possibly: ames!sgi!jmw