xref: /csrg-svn/lib/libplot/hp2648/space.c (revision 61393)
148517Sbostic /*-
2*61393Sbostic  * Copyright (c) 1980, 1993
3*61393Sbostic  *	The Regents of the University of California.  All rights reserved.
448517Sbostic  *
548517Sbostic  * %sccs.include.proprietary.c%
619975Sdist  */
719975Sdist 
815458Sralph #ifndef lint
9*61393Sbostic static char sccsid[] = "@(#)space.c	8.1 (Berkeley) 06/04/93";
1048517Sbostic #endif /* not lint */
1115458Sralph 
1215458Sralph #include "hp2648.h"
1315458Sralph 
space(x0,y0,x1,y1)1415458Sralph space(x0,y0,x1,y1)
1515458Sralph int x0,y0,x1,y1;
1615458Sralph {
1715458Sralph 	lowx = x0;
1815458Sralph 	lowy = y0;
1915458Sralph 	scalex = 720.0/(x1-lowx);
2015458Sralph 	scaley = 360.0/(y1-lowy);
2115458Sralph }
22