For the roll your own programmer, you will find these routines can save you a lot of time even if you don't copy them line for line. I've programmed in Pascal, switched to C and abandoned it for Pascal. I don't write major applications, I just have a job to do - and Pascal is reliable and fast. Hey! Why do you think DELPHI is so great?
These procedures and functions were written long ago. Most have been tested although USE THEM AT YOUR OWN RISK. I've been adding to them over the years but left off at writing Bessell and Error functions. These were meant for the old Turbo Pascal 4/5 compiler - but for the most part you will find you can easily lift what you need to any modern pascal compiler with little work in getting them to compile.
The following downloads are turbo pascal units....
These routines will draw the plot lines to fit the data to be plotted on both the X and Y axis. You may choose either linear or logarithmic spacing.
This unit is meant for viewing a wireframe in a true perspective at any angle or distance.
Here you will find hyperbolic and trigonometric routines taking complex or real arguments. Also some routines for manipulating complex polynomials are included.