Penplot Initialization


Call the terminal routine to set up your workstation or terminal for using Penplot graphics. This routine should work, regardless of the type of workstation or terminal on which the program is running.

If you are programming in C, the call is:

terminal_();
If you are programming in Fortran, the call is:
call terminal();
When you compile your program, you need to link with the penplot and X libraries.

To compile and link a C program with Penplot, type this:

cc -c program.c
cc program.o -lpenplot -lX11 -l{F,I,U}77 -lm
To compile and link a Fortran program with Penplot, type this:
attach X11
f77 -c program.f
f77 program.o -lpenplot -lX11