Skip to content Accesskey=4Skip to sub-navigation Accesskey=3View our Accessibility Options MIT Information Systems Home About IS&T Contact IS&T Site Map Search Advanced Search
Getting StartedGetting Services by Topic or Alphabetically Getting Help

On This Page

[Help]

  

Quick Links

Top Level

Related Links

Ask OLC a question

Athena Consulting Homepage

Helpdesk Stock Answers (for Mac/PC questions)


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

MIT Home | Getting Started | Getting Services | Getting Help | About IS&T | Accessibility
Ask a technology question or send a comment about this web page.