xref: /csrg-svn/lib/libplot/hp2648/space.c (revision 48517)
1*48517Sbostic /*-
2*48517Sbostic  * Copyright (c) 1980 The Regents of the University of California.
3*48517Sbostic  * All rights reserved.
4*48517Sbostic  *
5*48517Sbostic  * %sccs.include.proprietary.c%
619975Sdist  */
719975Sdist 
815458Sralph #ifndef lint
9*48517Sbostic static char sccsid[] = "@(#)space.c	5.2 (Berkeley) 04/22/91";
10*48517Sbostic #endif /* not lint */
1115458Sralph 
1215458Sralph #include "hp2648.h"
1315458Sralph 
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