xref: /csrg-svn/lib/libplot/t450/space.c (revision 48525)
1*48525Sbostic /*-
2*48525Sbostic  * Copyright (c) 1983 The Regents of the University of California.
3*48525Sbostic  * All rights reserved.
4*48525Sbostic  *
5*48525Sbostic  * %sccs.include.proprietary.c%
6*48525Sbostic  */
7*48525Sbostic 
813373Ssam #ifndef lint
9*48525Sbostic static char sccsid[] = "@(#)space.c	4.2 (Berkeley) 04/22/91";
10*48525Sbostic #endif /* not lint */
1113373Ssam 
1213373Ssam # include "con.h"
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