date and time created 85/01/02 20:10:36 by jak
[unix-history] / usr / src / lib / libplot / bitgraph / open.c
CommitLineData
f27b3e44
RC
1#ifndef lint
2static char sccsid[] = "@(#)open.c 4.1 (Berkeley) %G%";
3#endif
4
5/*
6 * Displays plot files on a BBN bitgraph terminal.
7 */
8
9#include <signal.h>
10#include "bg.h"
11
12int currentx = 0;
13int currenty = 0;
14double lowx = 0.0;
15double lowy = 0.0;
16double scale = 1.0;
17
18openpl()
19{
20 int closepl();
21
22 /* catch interupts */
23 signal(SIGINT, closepl);
24 currentx = 0;
25 currenty = 0;
26
27 space(0, 0, XMAX, YMAX);
28}