xref: /csrg-svn/lib/libplot/t300s/space.c (revision 48522)
1*48522Sbostic /*-
2*48522Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48522Sbostic  * All rights reserved.
4*48522Sbostic  *
5*48522Sbostic  * %sccs.include.proprietary.c%
6*48522Sbostic  */
7*48522Sbostic 
813338Ssam #ifndef lint
9*48522Sbostic static char sccsid[] = "@(#)space.c	4.2 (Berkeley) 04/22/91";
10*48522Sbostic #endif /* not lint */
1113338Ssam 
1213338Ssam # include "con.h"
1313338Ssam float deltx = 4095.;
1413338Ssam float delty = 4095.;
1513338Ssam space(x0,y0,x1,y1){
1613338Ssam 	botx = -2047.;
1713338Ssam 	boty = -2047.;
1813338Ssam 	obotx = x0;
1913338Ssam 	oboty = y0;
2013338Ssam 	scalex = deltx/(x1-x0);
2113338Ssam 	scaley = delty/(y1-y0);
2213338Ssam }
23