xref: /original-bsd/lib/libplot/t300/space.c (revision 7e7b101a)
1 #ifndef lint
2 static char sccsid[] = "@(#)space.c	4.1 (Berkeley) 06/27/83";
3 #endif
4 
5 # include "con.h"
6 float deltx = 4095.;
7 float delty = 4095.;
8 space(x0,y0,x1,y1){
9 	botx = -2047.;
10 	boty = -2047.;
11 	obotx = x0;
12 	oboty = y0;
13 	scalex = deltx/(x1-x0);
14 	scaley = delty/(y1-y0);
15 }
16