xref: /csrg-svn/lib/libplot/t450/space.c (revision 61412)
148525Sbostic /*-
2*61412Sbostic  * Copyright (c) 1983, 1993
3*61412Sbostic  *	The Regents of the University of California.  All rights reserved.
448525Sbostic  *
548525Sbostic  * %sccs.include.proprietary.c%
648525Sbostic  */
748525Sbostic 
813373Ssam #ifndef lint
9*61412Sbostic static char sccsid[] = "@(#)space.c	8.1 (Berkeley) 06/04/93";
1048525Sbostic #endif /* not lint */
1113373Ssam 
1213373Ssam # include "con.h"
space(x0,y0,x1,y1)1313373Ssam space(x0,y0,x1,y1){
1413373Ssam 	botx = -2047.;
1513373Ssam 	boty = -2047.;
1613373Ssam 	obotx = x0;
1713373Ssam 	oboty = y0;
1813373Ssam 	scalex = 4096./(x1-x0);
1913373Ssam 	scaley = 4096./(y1-y0);
2013373Ssam }
21