date and time created 83/06/27 14:26:21 by sam
[unix-history] / usr / src / lib / libplot / vt0 / space.c
CommitLineData
23af587d
SL
1#ifndef lint
2static char sccsid[] = "@(#)space.c 4.1 (Berkeley) %G%";
3#endif
4
5extern float boty;
6extern float botx;
7extern float oboty;
8extern float obotx;
9extern float scalex;
10extern float scaley;
11float deltx 4095.;
12float delty 4095.;
13space(x0,y0,x1,y1){
14 botx = -2047.;
15 boty = -2047;
16 obotx = x0;
17 oboty = y0;
18 scalex = deltx/(x1-x0);
19 scaley = delty/(y1-y0);
20}