Newsgroups: comp.archives
Path: utzoo!utgpu!news-server.csri.toronto.edu!math.lsa.umich.edu!math.lsa.umich.edu!emv
From: ktoh@cy.berkeley.edu (Kenny Toh)
Subject: [xpert] Re: 3d plotting followup
Message-ID: <1990Sep12.001811.22967@math.lsa.umich.edu>
Followup-To: comp.windows.x
Keywords: 3D Plotting program
Sender: emv@math.lsa.umich.edu (Edward Vielmetti)
Reply-To: ktoh@cy.berkeley.edu.UUCP (Kenny Toh)
Organization: Postgres Research Group, UC Berkeley
Date: Wed, 12 Sep 90 00:18:11 GMT
Approved: emv@math.lsa.umich.edu (Edward Vielmetti)
X-Original-Newsgroups: comp.windows.x
Lines: 61

Archive-name: pdraw/11-Sep-90
Original-posting-by: ktoh@cy.berkeley.edu (Kenny Toh)
Original-subject: Re: 3d plotting followup
Archive-site: scam.berkeley.edu [128.32.138.1]
Archive-directory: /src/local
Reposted-by: emv@math.lsa.umich.edu (Edward Vielmetti)

In article <27608@pasteur.Berkeley.EDU> ktoh@cy.berkeley.edu.UUCP (Kenny Toh) writes:
>Hi there folks, I was just catching up on my reading in this newsgroup
>and lo, I found this comment about a need for X11 3D plotting.
>Well, it just happen that I have do have a program which does 3D
>plots.  A brief description follows :
>
>NAME
>     pdraw - 3D plot program for X-windows and Postscript
>

Here's another update on the plotting programs.  These programs have been 
installed on the ftp account on scam.berkeley.edu (/src/local),
under the following names :

       3dplot.tar.Z
       contour.tar.Z
       drawplot.tar.Z

To get to these files, use the anonymous ftp.
A brief description of the programs follows :

       pdraw - 3D plot program for X-windows and Postscript
       contour - contour plot program for X-windows, HP2648s and Postscript
       drawplot - plot program for Sunview, X-windows, HP2648s and Postscript

To unpack : 

   (A) Type "uncompress [name].tar.Z"

   (B) Type "tar -xvf [name].tar"

   (C) Now go into the directory (3DPlot, Contour, Drawplot) and figure out
       how to compile.

Have fun with the code, please tell me of any modifications you might 
make (so that I can incorporate the changes into the code), and 
e-mail me if you have trouble.  Thanks for the interest.

Kenny Toh
(ktoh@mascot.berkeley.edu)
(I'm really not a computer-graphics engineer, really!)

P.S.  I will be submitting this to comp.sources.x sometime in the future,
      as soon as I can decipher the submission instructions.

P.S.S. Note : The programs listed here will do plots on different machines,
       according to the terminal type.  For example, contour will draw 
       hp2648 plots if it thinks it's on a 2648 terminal.  I test for this
       by checking the TERM environment variable.  So what does this mean?
       If you're trying to plot on an xterm which your machine calls
       'hpterm', then you'll have to reset your termtype to 'xterm'.
       If you don't do this, then the program will go directly to the
       postscript plotting routines, and you won't get a plot on your X
       screen.
