xref: /csrg-svn/lib/libplot/t300/space.c (revision 48521)
1*48521Sbostic /*-
2*48521Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48521Sbostic  * All rights reserved.
4*48521Sbostic  *
5*48521Sbostic  * %sccs.include.proprietary.c%
6*48521Sbostic  */
7*48521Sbostic 
813321Ssam #ifndef lint
9*48521Sbostic static char sccsid[] = "@(#)space.c	4.2 (Berkeley) 04/22/91";
10*48521Sbostic #endif /* not lint */
1113321Ssam 
1213321Ssam # include "con.h"
1313321Ssam float deltx = 4095.;
1413321Ssam float delty = 4095.;
1513321Ssam space(x0,y0,x1,y1){
1613321Ssam 	botx = -2047.;
1713321Ssam 	boty = -2047.;
1813321Ssam 	obotx = x0;
1913321Ssam 	oboty = y0;
2013321Ssam 	scalex = deltx/(x1-x0);
2113321Ssam 	scaley = delty/(y1-y0);
2213321Ssam }
23