xref: /csrg-svn/lib/libplot/vt0/space.c (revision 13390)
1*13390Ssam #ifndef lint
2*13390Ssam static char sccsid[] = "@(#)space.c	4.1 (Berkeley) 06/27/83";
3*13390Ssam #endif
4*13390Ssam 
5*13390Ssam extern float boty;
6*13390Ssam extern float botx;
7*13390Ssam extern float oboty;
8*13390Ssam extern float obotx;
9*13390Ssam extern float scalex;
10*13390Ssam extern float scaley;
11*13390Ssam float deltx 4095.;
12*13390Ssam float delty 4095.;
13*13390Ssam space(x0,y0,x1,y1){
14*13390Ssam 	botx = -2047.;
15*13390Ssam 	boty = -2047;
16*13390Ssam 	obotx = x0;
17*13390Ssam 	oboty = y0;
18*13390Ssam 	scalex = deltx/(x1-x0);
19*13390Ssam 	scaley = delty/(y1-y0);
20*13390Ssam }
21