xref: /csrg-svn/lib/libplot/gigi/space.c (revision 15496)
1*15496Sralph #ifndef lint
2*15496Sralph static char sccsid[] = "@(#)space.c	4.1 (Berkeley) 11/10/83";
3*15496Sralph #endif
4*15496Sralph 
5*15496Sralph #include "gigi.h"
6*15496Sralph 
7*15496Sralph space(x0,y0,x1,y1)
8*15496Sralph int x0,y0,x1,y1;
9*15496Sralph {
10*15496Sralph 	lowx = x0;
11*15496Sralph 	lowy = y0;
12*15496Sralph 	scalex = XMAX/(x1-lowx);
13*15496Sralph 	scaley = YMAX/(y1-lowy);
14*15496Sralph }
15