[comp.sys.amiga] Plplot using Aztec

ecphssrw@afws.csun.edu (Stephen Walton) (05/16/89)

In an article which has expired at my site, someone asked about getting
PlPlot to work under Aztec.  I've done it and will be sending my support
files (Makefile, change file, and uuencoded library) to comp.sources.amiga.
For those who can't wait, a summary of the changes I made:

In Aztec.c:  Don't include <dos.h> if AZTEC_C defined.  Make IntuitionBase
and GfxBase declarations if AZTEC_C defined (i.e., no "extern" keyword).
Added a memset function to the end, though I think Aztec has a setmem()
function so a #define of this could be added to plplot.h.

Include files:  I created a stdlib.h file for Manx a while ago, but for
plplot all it needs is the single declaration "void *malloc();"  I also
added the min and max macros to the end of Manx's math.h file.
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))

Compiling:  You'll need to use the +D (large data) switch due to the size
of the font files, +L (32-bit ints) because of some pointer-int conversions,
and either +FI or +F8 (IEEE math with either software or a 68881) because
the plots don't turn out right with FFP math.  This is roundoff error: FFP
is always single precision; even if the variable is declared double, the
lower 32-bits are all zeros.
--
Stephen Walton, Dept. of Physics & Astronomy, Cal State Univ. Northridge
RCKG01M@CALSTATE.BITNET       ecphssrw@afws.csun.edu
swalton@solar.stanford.edu    ...!csun!afws.csun.edu!ecphssrw

paolucci@snll-arpagw.UUCP (Sam Paolucci) (05/16/89)

In article <716@solaria.csun.edu> ecphssrw@afws.csun.edu (Stephen Walton) writes:
->In an article which has expired at my site, someone asked about getting
->PlPlot to work under Aztec.  I've done it and will be sending my support
->files (Makefile, change file, and uuencoded library) to comp.sources.amiga.

I too have had a version of PlPlot working with Manx's compiler as well as
Lattice.  In addition, I have added a PostScript driver.  Perhaps we should
merge changes before inundating Bob with many versions of the library.
What do you say?  By the way, I also have a list of enhancements that I
was going to add as time permitted.  Perhaps with cooperation some of these
could be done much more expediently.



-- 
					-+= SAM =+-
"the best things in life are free"

				ARPA: paolucci@snll-arpagw.llnl.gov