xref: /csrg-svn/lib/libplot/vt0/space.c (revision 15481)
113390Ssam #ifndef lint
2*15481Sralph static char sccsid[] = "@(#)space.c	4.2 (Berkeley) 11/10/83";
313390Ssam #endif
413390Ssam 
513390Ssam extern float boty;
613390Ssam extern float botx;
713390Ssam extern float oboty;
813390Ssam extern float obotx;
913390Ssam extern float scalex;
1013390Ssam extern float scaley;
11*15481Sralph float deltx = 4095.;
12*15481Sralph float delty = 4095.;
1313390Ssam space(x0,y0,x1,y1){
1413390Ssam 	botx = -2047.;
1513390Ssam 	boty = -2047;
1613390Ssam 	obotx = x0;
1713390Ssam 	oboty = y0;
1813390Ssam 	scalex = deltx/(x1-x0);
1913390Ssam 	scaley = delty/(y1-y0);
2013390Ssam }
21