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